Template:Stack: Difference between revisions
From Dead Suns Game
Jump to navigationJump to search
No edit summary |
No edit summary |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOEDITSECTION__ __NOTOC__<includeonly> | __NOEDITSECTION__ __NOTOC__<includeonly> | ||
<div style="box-shadow: 5px 5px 10px 1px #bbf;display: block; border-radius: 25px; width:400px; height: 350px; border: 2px solid #007;padding:5px;margin: 5px;float:left;overflow: auto;background-color:#FFF;"> | <div style="box-shadow: 5px 5px 10px 1px #bbf;display: block; border-radius: 25px; width:400px; max-width:95%;height: 350px; border: 2px solid #007;padding:5px;margin: 5px;float:left;overflow: auto;background-color:#FFF;"> | ||
<div style="display: block; overflow:hidden; border-radius: 16px 0 0 0;float: left; height: 185px; width:150px; margin: 2px">{{{pic|}}}</div> | <div style="display: block; overflow:hidden; border-radius: 16px 0 0 0;float: left; height: 185px; width:150px; margin: 2px">{{{pic|}}}</div> | ||
<div style="display: block; float: left; padding:2px 5px 5px 5px"> | <div style="display: block; float: left; padding:2px 5px 5px 5px"> | ||
<div style="width:200px"> | <div style="width:200px"> | ||
{| class="StarVTable" style="margin:auto; width: | {| class="StarVTable" style="margin:auto; width: 235px;" | ||
|+ | |+ | ||
|- {{#ifeq: {{{name|+}}} | {{{name|-}}} | | style="display:none" }} | |- {{#ifeq: {{{name|+}}} | {{{name|-}}} | | style="display:none" }} | ||
| 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 128px", | |||
"type": "wiki-file-name" | |||
}, | |||
"extra": { | |||
"label": "extra", | |||
"required": false, | |||
"description": "Text below the stats-block" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"pic", | |||
"name", | |||
"theme", | |||
"class", | |||
"homeworld", | |||
"player", | |||
"faction", | |||
"status", | |||
"extra" | |||
] | |||
} | |||
</templatedata> | |||
=== Note === | === Note === | ||
| Line 66: | Line 131: | ||
|pic=[[File:Sir Not Appearing.jpg|120x120px]] | |pic=[[File:Sir Not Appearing.jpg|120x120px]] | ||
|name=Sir Not Appearing in This Film | |name=Sir Not Appearing in This Film | ||
|player=Vin Deisel | |player=Vin Deisel | ||
|class=Unknown | |class=Unknown | ||
| Line 78: | Line 142: | ||
|pic=[[File:Sir Not Appearing.jpg|120x120px]] | |pic=[[File:Sir Not Appearing.jpg|120x120px]] | ||
|name=Sir Not Appearing in This Film | |name=Sir Not Appearing in This Film | ||
|player=Vin Deisel | |player=Vin Deisel | ||
|class=Unknown | |class=Unknown | ||
Latest revision as of 11:49, 28 October 2022
Character Cards
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Picture | pic | A Pic - maybe with a link 128px | File | suggested |
| 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 |
| 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
|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