Editing Template:CardInfobox
From LOTR-TCG Wiki
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 3: | Line 3: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
{| class="wikitable card-infobox-container" style="float:right; width:370px; margin:0 0 0 50px" | {| class="wikitable card-infobox-container" style="float:right; width:370px; margin:0 0 0 50px" | ||
|+ <big>Gimli, Son of Gloin</big> | |||
|- | |- | ||
| | | | ||
{{#tag:gallery|{{#cargo_query:tables=Cards=C,CardReleases=CR | {{#tag:gallery|{{#cargo_query:tables=Cards=C,CardReleases=CR | ||
|join on=C.ID = CR.BaseCardID | |join on=C.ID = CR.BaseCardID | ||
|fields= | |fields= CR.ImageFilename=Filename,CR.LanguageCode,CR.Subset=Style | ||
,CR.LanguageCode | |||
,CR.Subset=Style | |||
|where=C.ID='{{IDLookup|{{{1}}}}}' | |where=C.ID='{{IDLookup|{{{1}}}}}' | ||
|format=template | |format=template | ||
|template=GalleryQuery | |template=GalleryQuery | ||
Line 20: | Line 15: | ||
|delimiter=\n | |delimiter=\n | ||
|no html | |no html | ||
}}|mode="slideshow"}} | }}|mode="slideshow"|showthumbnails="true"}} | ||
|- | |- | ||
|style="padding:0px;"|<!-- | |style="padding:0px;"|<!-- | ||
Line 28: | Line 23: | ||
|fields= TRIM('Collection Info'), | |fields= TRIM('Collection Info'), | ||
TRIM('Title'), CR.Title, | TRIM('Title'), CR.Title, | ||
TRIM('Subtitle'), | TRIM('Subtitle'), CR.Subtitle, | ||
TRIM('Collectible'), C.IsPhysical, | |||
TRIM('Collectible') | TRIM('Notes'), C.Notes, | ||
TRIM('Notes'), | TRIM('Set'), CONCAT(CS.ID, ' - [[', CS.Name, ']]'), | ||
TRIM(' | TRIM('Rarity'), CONCAT(R.Abbr, ' - [[Rarity{{!}}', R.Name, ']]'), | ||
TRIM(' | |||
TRIM('Card Number'), C.CardNum, | TRIM('Card Number'), C.CardNum, | ||
TRIM(' | TRIM('Language'), CONCAT(L.Code, ' - [[Languages{{!}}', L.Name, ']]'), | ||
TRIM('Revision'), C.Revision, | TRIM('Revision'), C.Revision, | ||
TRIM('Notes'), CONCAT(C.Notes, '<br>', CR.Notes) | TRIM('Notes'), CONCAT(C.Notes, '<br>', CR.Notes) | ||
Line 54: | Line 48: | ||
|fields= TRIM('Gameplay Info')=TableName, | |fields= TRIM('Gameplay Info')=TableName, | ||
IF(C.IsPlayable = 1, 'Yes', 'No')=Playable, | IF(C.IsPlayable = 1, 'Yes', 'No')=Playable, | ||
CONCAT('[[Image:', C.Culture, '.svg{{!}}x20px{{!}}text-bottom{{!}}link=', C.Culture, '_Culture{{!}}class=whitebg]] \'\'\'[[', C.Culture, '_Culture{{!}}', C.Culture, ']]\'\'\'')=Culture, | |||
CONCAT('[[Image: | |||
CONCAT('[[', IF(C.Side='Freeps', 'Free Peoples', C.Side), ']]')=Side, | CONCAT('[[', IF(C.Side='Freeps', 'Free Peoples', C.Side), ']]')=Side, | ||
CT.SubtypeClass, CR.Subtypes, | CT.SubtypeClass, CR.Subtypes, | ||
Line 70: | Line 63: | ||
IF(CR.Block='None', NULL, CR.Block)=Block, | IF(CR.Block='None', NULL, CR.Block)=Block, | ||
IF(CR.ShadowNum=0, NULL, CR.ShadowNum)=ShadowNum, | IF(CR.ShadowNum=0, NULL, CR.ShadowNum)=ShadowNum, | ||
IF( | IF(CR.IsSanctuary=0, NULL, IF(CR.IsSanctuary = 1, 'Yes', 'No'))=IsSanctuary, | ||
IF(CR.ArrowDir='None', NULL, CR.ArrowDir)=ArrowDir, | IF(CR.ArrowDir='None', NULL, CR.ArrowDir)=ArrowDir, | ||
CR.FormattedGameText, | CR.FormattedGameText, | ||
Line 98: | Line 91: | ||
CR._pageName = pn1, | CR._pageName = pn1, | ||
C._pageName = pn2 | C._pageName = pn2 | ||
|where=C.ID='{{IDLookup|{{{1}}}}}' | |where=C.ID='{{IDLookup|{{{1}}}}}' AND L.Code != 'TW' | ||
AND L.Code | |||
|intro=<!-- | |intro=<!-- | ||
-->{{{!}} class="wikitable mw-collapsible mw-collapsed" style="width:100%;margin:0" | -->{{{!}} class="wikitable mw-collapsible mw-collapsed" style="width:100%;margin:0" | ||
Line 108: | Line 99: | ||
|template=TranslationInfoboxTable | |template=TranslationInfoboxTable | ||
|named args= yes | |named args= yes | ||
|outro= | |outro={{!}}} | ||
{{!}}} | |||
|delimiter= | |delimiter= | ||
|no html | |no html | ||
Line 116: | Line 105: | ||
--> | --> | ||
|- | |- | ||
|style="padding:0px;"| | |style="padding:0px;"| | ||
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%;margin:0" | |||
|- | |||
!colspan="2" class="mw-customtoggle-section1"|Translations | |||
|- | |||
!style="width:140px"| '''Language''' | |||
! FR - French | |||
|- | |||
| '''Name''' | |||
| Gimli, Fil de Gloin | |||
|- | |||
| '''Game Text''' | |||
| '''Dégâts +1'''. | |||
'''Combat:''' Affaiblissez Gimli pour lui donner +2 en force. | |||
|- | |||
| '''Lore''' | |||
| “À côté de Glóin se trouvait un jeune Nain: son fils Gimli.” | |||
|- | |||
| '''Notes''' | |||
| | |||
|} | |||
|- | |||
|style="padding:0px;"| | |||
{| class="wikitable mw-collapsible mw-collapsed" style="width:100%;margin:0" | |||
|- | |||
!colspan="3" class="mw-customtoggle-section1"|Technical Info | |||
|- | |||
|style="width:140px"| '''Wiki Base Card ID''' | |||
| LOTR-EN01S013.0 | |||
|- | |||
| '''TLHH ID''' | |||
| TLHH_ImageNum | |||
|- | |||
| '''Gemp ID''' | |||
| GEMP_ID | |||
|- | |||
| '''LOTRO Hex ID''' | |||
| LOTRO_HexNum | |||
|- | |||
| '''LOTRO Image ID''' | |||
| LOTRO_ImageNum | |||
|} | |||
|} | |} | ||
</includeonly> | </includeonly> |