Difference between revisions of "Template:Xenotype genes table/row"
Jump to navigation
Jump to search
(Unused genes are now just implied by the other parameters.) |
m (Put gene icon after name for more reliable sorting) |
||
Line 14: | Line 14: | ||
}}}} | }}}} | ||
<tr {{#ifeq: {{#var:isunused}}|1|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseXenotypeTable"|}}> | <tr {{#ifeq: {{#var:isunused}}|1|class="mw-collapsible mw-collapsed" id="mw-customcollapsible-collapseXenotypeTable"|}}> | ||
− | <th>[[ | + | <th>[[Genes#{{{2}}}|{{{2}}}]][[File:{{{1}}}|16px|link=Genes#{{{2}}}]]</th> |
<!-- Gene category --> | <!-- Gene category --> | ||
<th>[[Genes#{{{3}}}|{{{3}}}]]</th> | <th>[[Genes#{{{3}}}|{{{3}}}]]</th> |
Revision as of 13:19, 20 November 2022
A single row of Template:Xenotype genes table
Usage
{{Xenotype genes table/row|image|name|category|pigskins=false|impids=false|etc.}}
Accepts all vanilla xenotypes:
- pigskins
- impids
- yttakin
- neanderthals
- dirtmoles
- genies
- hussars
- highmates
- wasters
- sanguophages
If no xenotypes are set, then the gene will be marked as "unused", and can be hidden by the parent table.
Example 1
{| {{STDT| sortable c_07 }} ! rowspan="2" | Gene !! rowspan="2" | Category !! colspan="10" | Xenotype |- ! Pigskins !! Impids !! Yttakin !! Neanderthals !! Dirtmoles !! Genies !! Hussars !! Highmates !! Wasters !! Sanguophages |- {{Xenotype genes table/row|Gene Firespew.png|Fire spew|Ability|wasters=true|impids=true}} {{Xenotype genes table/row|Gene WoundHealingRateSlow.png|Slow wound healing|Healing|impids=true|yttakin=true}} {{Xenotype genes table/row|Gene IntenseUVSensitivity.png|Intense UV sensitivity|Resistance and sensitivity|dirtmoles=true}} {{Xenotype genes table/row||Who knows?|Miscellaneous|pigskins=true}} |}
Gene | Category | Xenotype | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Pigskins | Impids | Yttakin | Neanderthals | Dirtmoles | Genies | Hussars | Highmates | Wasters | Sanguophages | ||
Fire spew | Ability | ||||||||||
Slow wound healing | Healing | ||||||||||
Intense UV sensitivity | Resistance and sensitivity | ||||||||||
Who knows?[[File:|16px|link=Genes#Who knows?]] | Miscellaneous |
Example 2
The above documentation is transcluded from Template:Xenotype genes table/row/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |