Template:Category/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
-------
 
[[:Template:Category/doc|Documentation:]]
[[:Template:Category/doc|Documentation:]]


  <nowiki>
  <nowiki>
{{Category
{{Category
|race
|race =
|entity-type1
|item-type =
|entity-type2
|material-type =
|unit-type
|entity-type =
|component
|unit-type =
|material
|
|
|
|
|
}}
}}
</nowiki>
</nowiki>


*race and entity type outputs needs to have a capitalized first letter... Robot Human Alien Bug / Building Bot
*race = Aliens / Bugs / Humans / Robots ...
*race and entity types are are the same as Template:Entity_Stats
*item-type = Components / Resources / Materials / Research / Packages ...
*material-type = Simple / Advanced / High-tech ...
*entity-type = Building / Unit ...
*unit-type = Alien / Bug / Human / Bot / Space ...


*entity type = Unit or Building
Notes:
*unit type = Bot or Drone
*Empty output if no result for all parameters e.g. ' unit-type = '
*Races end in 's' compared to Units.
*Unit - Bot (not Robot)


*component = is component? 'yes'/'1' or empty (same with material)
Future parameter use (for other templates):
alien = is alien Entity? (same with human)
*(item-type=Research = research - component navbox)
*(item-type=Package = drones, satellite - unit navbox)

Latest revision as of 16:04, 15 August 2023


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)