Legend of the Five Rings Wiki
 
Line 20: Line 20:
 
|-
 
|-
 
| '''Type''' {{!!}} {{#switch: {{lc:{{{type}}} }}
 
| '''Type''' {{!!}} {{#switch: {{lc:{{{type}}} }}
|holding|stronghold|province|character|attachment|event|role|treaties{{!}}treaty= [[{{ucfirst:{{lc:{{{type}}}}}}}]] {{#ifeq: {{NAMESPACE}} | Template | | [[Category:{{lc:{{{type}}}}}s]] }}
+
|holding|stronghold|province|character|attachment|event|role|warlord|treaties{{!}}treaty= [[{{ucfirst:{{lc:{{{type}}}}}}}]] {{#ifeq: {{NAMESPACE}} | Template | | [[Category:{{lc:{{{type}}}}}s]] }}
 
|#default = ''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing card type]] }}
 
|#default = ''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing card type]] }}
 
}}{{#if: {{{traits|}}}|
 
}}{{#if: {{{traits|}}}|
Line 38: Line 38:
 
|province = {{missingdash|{{{strength|}}}}} {{strength}}
 
|province = {{missingdash|{{{strength|}}}}} {{strength}}
 
|role = {{missingdash|{{{clan2|}}}}} {{clan2}}
 
|role = {{missingdash|{{{clan2|}}}}} {{clan2}}
  +
|warlord = {{missingdash|{{{cost|}}}}} {{fate}} / {{missingdash|{{{military|}}}}} {{military}} / {{missingdash|{{{political|}}}}} {{political}} / {{missingdash|{{{glory|}}}}} {{glory}}
 
|treaties{{!}}treaty = {{missingdash|}}
 
|treaties{{!}}treaty = {{missingdash|}}
 
|#default = ''No valid card type''
 
|#default = ''No valid card type''
Line 62: Line 63:
 
{{!}} '''Illus.''' {{!!}} {{#if: {{{illus|}}}|[[{{{illus|}}}]]|''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing illustrator]] }}}}}}
 
{{!}} '''Illus.''' {{!!}} {{#if: {{{illus|}}}|[[{{{illus|}}}]]|''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing illustrator]] }}}}}}
 
{{!}}-
 
{{!}}-
{{!}} '''Set, ID''' {{!!}} {{#if: {{{set|}}} | [[{{{set}}}|{{trim|{{#explode:{{{set}}}|(|0}}}}]]{{#ifeq: {{NAMESPACE}} | Template | | [[Category:{{#explode:{{{set}}}|(|0}}]] }} | ''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing set name]] }} }}, {{#if: {{{id|}}} | {{TrimLeft0‎|{{{id}}}}} | ''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing set id]] }}}}
+
{{!}} '''Set;ID''' {{!!}} {{#if: {{{set|}}} | [[{{{set}}}|{{trim|{{#explode:{{{set}}}|(|0}}}}]]{{#ifeq: {{NAMESPACE}} | Template | | [[Category:{{#explode:{{{set}}}|(|0}}]] }} | ''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing set name]] }} }}, {{#if: {{{id|}}} | {{TrimLeft0‎|{{{id}}}}} | ''Not specified'' {{#ifeq: {{NAMESPACE}} | Template | | [[Category:Cards with missing set id]] }}}}
 
|}</includeonly><noinclude>{{doc}}
 
|}</includeonly><noinclude>{{doc}}
 
[[Category:Infobox templates|{{PAGENAME}}]]
 
[[Category:Infobox templates|{{PAGENAME}}]]

Latest revision as of 09:47, 14 June 2021

Template-info.png Documentation

This is a infobox for LCG cards.

Minimum Call

Infobox card
No image yet
Story hline.png
Clan neutral
Type Not specified
Stats No valid card type
Text Box
Illus. Not specified
Set;ID Not specified, Not specified
{{Infobox card
  |image= 
  |clan = 
  |type = 
  |text =
  |set  = 
  |id   = 
}}

Additional Parameter

  • name - if different from the pagename.
  • deck - Set to conflict or dynasty, if the card belongs to the conflict or the dynasty deck respectively.
  • flavor - Write the verbatim flavor text, if the card has a flavor text
  • traits - Write the trait line including capitalization and full stops, if the card has traits like Bushi or Shugenja
  • cost - for events, characters and attachments
  • reinforcement - for characters with the Shadowlands clan
  • military - for characters and attachments
  • political - for characters and attachments
  • glory - for characters
  • strength - for holdings, provinces and strongholds
  • honor - for strongholds
  • influence - for strongholds and conflict deck cards with clan alignment
  • fate - for strongholds
  • clan2 - secondary clan for roles