Template:Translation: Difference between revisions
From LOTR-TCG Wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
{{#template_params:CardID|BaseCardID (label=Base Card ID)|Subset|Revision|ImageFilename (label=Image Filename;namespace=File)|LanguageCode (label=Language Code)|Title|Subtitle|Subtypes|GameText (label=Game Text)|TaggedGameText (label=Tagged Game Text)|FormattedGameText (label=Formatted Game Text)|Lore|PromoText (label=Promo Text)|Notes}} | {{#template_params:CardID|BaseCardID (label=Base Card ID)|Subset|Revision|ImageFilename (label=Image Filename;namespace=File)|LanguageCode (label=Language Code)|Title|Subtitle|Subtypes|GameText (label=Game Text)|TaggedGameText (label=Tagged Game Text)|FormattedGameText (label=Formatted Game Text)|Lore|PromoText (label=Promo Text)|Notes}} | ||
{{#cargo_attach:_table=CardReleases}} | {{#cargo_attach:_table=CardReleases}} | ||
</noinclude><includeonly>{{ | </noinclude><includeonly>{{CardRelease|CardID={{{CardID}}}|BaseCardID={{{BaseCardID}}}|Subset={{{Subset}}}|Revision={{{Revision}}}|ImageFilename={{{ImageFilename}}}|LanguageCode={{{LanguageCode}}}|Title={{{Title}}}|Subtitle={{{Subtitle}}}|Subtypes={{{Subtypes}}}|GameText={{{GameText}}}|TaggedGameText={{{TaggedGameText}}}|FormattedGameText={{{FormattedGameText}}}|Lore={{{Lore}}}|PromoText={{{PromoText}}}|Notes={{{Notes}}}}} | ||
[[Category: | [[Category:{{{LanguageCode}}} Translated Cards]] | ||
</includeonly> | </includeonly> |
Revision as of 07:40, 27 September 2021
This is the "Translation" template.
It should be called in the following format:
{{Translation |CardID= |BaseCardID= |Subset= |Revision= |ImageFilename= |LanguageCode= |Title= |Subtitle= |Subtypes= |GameText= |TaggedGameText= |FormattedGameText= |Lore= |PromoText= |Notes= }}
Edit the page to see the template text.
This template adds rows to the table "CardReleases", which is declared by the template CardRelease. View table.