mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
{{#cargo_declare:_table=People|ID=Number|Name=String|Image=File}} | {{#cargo_declare:_table=People|ID=Number|Name=String|Image=File|Rank=String|Homeworld=Page|Division=String|Sex=String|Location=Page}} | ||
</noinclude> | </noinclude> | ||
<includeonly>{{#if:{{{ID}}}|{{#get_db_data: | <includeonly>{{#if:{{{ID}}}|{{#get_db_data: | ||
Line 10: | Line 10: | ||
|where=id={{{ID}}} | |where=id={{{ID}}} | ||
}}}} | }}}} | ||
{{#cargo_store:_table=People}} | {{#cargo_store:_table=People | ||
|ID={{{ID|}}} | |||
|Name={{{NAME}}} | |||
|Image={{{IMAGE|}}} | |||
|Rank={{Rank|{{#external_value:rank}}}} | |||
|Homeworld={{{HOMEWORLD}}} | |||
|Division={{{DIVISION|{{{FACTION|{{#switch:{{#external_value:faction}} | |||
| mi = Infantry | |||
| engineers = Engineering Corps | |||
| mipod = MIPOD | |||
| medic = Medical Corps | |||
| pathfinders = Pathfinders | |||
| aircorps = Aviation Corps | |||
| }}}}} | |||
|Sex={{{SEX}}} | |||
|Location={{{LOCATION}}} | |||
}} | |||
<div class="buttonPane" style="float:right; width:50%; background-color:#334; padding:1em; text-align:center;"> | <div class="buttonPane" style="float:right; width:50%; background-color:#334; padding:1em; text-align:center;"> | ||
<b>Quick Actions</b> | <b>Quick Actions</b> |
Revision as of 14:30, 10 December 2022
This template defines the table "People". View table.
Categories:
No categories