Template:Stack: Difference between revisions
From Dead Suns Game
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| Line 30: | Line 30: | ||
</div></includeonly> | </div></includeonly> | ||
<noinclude> | <noinclude> | ||
<templatedata> | |||
{ | |||
"description": "Character Cards", | |||
"params": { | |||
"name": { | |||
"label": "Character name", | |||
"required": false, | |||
"suggested": true, | |||
"description": "Character name." | |||
}, | |||
"theme": { | |||
"label": "Theme", | |||
"required": false, | |||
"description": "Theme" | |||
}, | |||
"class": { | |||
"label": "Class", | |||
"required": false, | |||
"description": "Class" | |||
}, | |||
"homeworld": { | |||
"label": "Homeworld", | |||
"required": false, | |||
"description": "Homeworld" | |||
}, | |||
"player": { | |||
"label": "Player", | |||
"required": false, | |||
"description": "Player" | |||
}, | |||
"faction": { | |||
"label": "Faction", | |||
"required": false, | |||
"description": "Faction" | |||
}, | |||
"status": { | |||
"label": "Status", | |||
"required": false, | |||
"description": "Alive? Dead? Missing?" | |||
}, | |||
"pic": { | |||
"label": "Picture", | |||
"required": false, | |||
"suggested": true, | |||
"description": "A Pic - maybe with a link" | |||
}, | |||
"extra": { | |||
"label": "extra", | |||
"required": false, | |||
"description": "Text below the stats-block" | |||
} | |||
} | |||
} | |||
</templatedata> | |||
=== Note === | === Note === | ||
Revision as of 12:22, 24 October 2022
Character Cards
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Character name | name | Character name. | Unknown | suggested |
| Theme | theme | Theme | Unknown | optional |
| Class | class | Class | Unknown | optional |
| Homeworld | homeworld | Homeworld | Unknown | optional |
| Player | player | Player | Unknown | optional |
| Faction | faction | Faction | Unknown | optional |
| Status | status | Alive? Dead? Missing? | Unknown | optional |
| Picture | pic | A Pic - maybe with a link | Unknown | suggested |
| extra | extra | Text below the stats-block | Unknown | optional |
Note
If you put Linefeeds or spaces between the instances they will get rendered as unevenness; that is just the nature of floating divs.
Usage
Name {{{name}}}
Race {{{race}}}
Theme {{{theme}}}
Class {{{class}}}
Homeword {{{homeworld}}}
Player {{{player}}}
Faction {{{faction}}}
Status {{{status}}}
Pic {{{pic}}}}
extra {{{content}}}
{{stack
|name=
|race=
|theme=
|class=
|homeworld=
|player=
|faction=
|status=
|pic=
|content=}}
Example
{{stack
|pic=[[File:Sir Not Appearing.jpg|120x120px]]
|name=Sir Not Appearing in This Film
|content=
|player=Vin Deisel
|class=Unknown
|theme=Unknown
|race=Human|status=Unknown
|homeworld=Earth
|faction=Unaligned
|content=Just some text}}
| Name | Sir Not Appearing in This Film |
| Race | Human |
| Theme | Unknown |
| Class | Unknown |
| Homeword | Earth |
| Player | Vin Deisel |
| Faction | Unaligned |
| Status | Unknown |
Just some text