Template:Category: Difference between revisions

Template page
No edit summary
No edit summary
Line 1: Line 1:
{{#ifexist:{{{item-type}}}|{{{{{item-type}}}Nav}}}}
{{#ifexist:{{{item-type}}}|{{{{{item-type}}}Nav}}}}
{{#ifexist:{{{entity-type}}}|{{{{{entity-type}}}Nav}}}}
{{#ifexist:{{{entity-type}}}|{{{{{entity-type}}}Nav}}}}
{{#ifexist:{{{unit-type}}}|{{{{{unit-type}}}Nav}}}}
{{#ifexist:{{{unit-type}}}|{{{{{unit-type}}}Nav}}}}


{{#ifexist:{{{race}}}|[[Category:{{{race}}}]]}}
{{#ifexist:{{{race}}}|[[Category:{{{race}}}]]}}
{{#ifexist:{{{item-type}}}|[[Category:{{{item-type}}}]]}}
{{#ifexist:{{{item-type}}}|[[Category:{{{item-type}}}]]}}
{{#ifexist:{{{entity-type}}}|[[Category:{{{entity-type}}}]]}}
{{#ifexist:{{{entity-type}}}|[[Category:{{{entity-type}}}]]}}
{{#ifexist:{{{unit-type}}}|[[Category:{{{unit-type}}}]]}}
{{#ifexist:{{{unit-type}}}|[[Category:{{{unit-type}}}]]}}


<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 08:33, 12 August 2023








Documentation


Documentation:

{{Category
|race =
|item-type =
|material-type =
|entity-type =
|unit-type =
}}

  • race = Aliens / Bugs / Humans / Robots ...
  • item-type = Components / Resources / Materials / Research / Packages ...
  • material-type = Simple / Advanced / High-tech ...
  • entity-type = Building / Unit ...
  • unit-type = Alien / Bug / Human / Bot / Space ...

Notes:

  • Empty output if no result for all parameters e.g. ' unit-type = '
  • Races end in 's' compared to Units.
  • Unit - Bot (not Robot)

Future parameter use (for other templates):

  • (item-type=Research = research - component navbox)
  • (item-type=Package = drones, satellite - unit navbox)

    The above Template documentation is transcluded from Template:Category/doc. (edit | history)