Template:Category: Difference between revisions

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


{{#if: {{{race}}} | [[Category:{{{race}}}]] }}
{{#if: {{{race}}} | [[Category:{{{race}}}]] }}

Latest revision as of 22:57, 14 August 2023

{{{{{item-type}}}Nav}} {{{{{entity-type}}}Nav}}

[[Category:{{{race}}}]]

[[Category:{{{entity-type}}}]] [[Category:{{{unit-type}}}]]

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)