Template:Who: Difference between revisions
From Dead Suns Game
Jump to navigationJump to search
No edit summary |
No edit summary |
||
(10 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOEDITSECTION__ __NOTOC__ | __NOEDITSECTION__ __NOTOC__ | ||
<includeonly><div style="clear: both;"></div> | <includeonly><div style="clear: both;"></div> | ||
<div style="display: block; float: right; width: 500px; padding: 0 20px 20px 20px;"> | <div style="display: block; float: right; width: 500px; max-width: 95%; padding: 0 20px 20px 20px;"> | ||
<div style="box-shadow: 5px 5px 10px #bbf;border: | <div style="box-shadow: 5px 5px 10px #bbf;border: 2px solid {{{border|#007}}};<!-- | ||
-->background: {{{titlebackground|#007}}};<!-- | -->background: {{{titlebackground|#007}}};<!-- | ||
-->color: {{{titleforeground|#fff}}};<!-- | -->color: {{{titleforeground|#fff}}};<!-- | ||
Line 21: | Line 21: | ||
--></span ><!-- | --></span ><!-- | ||
--><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{titleforeground|#fff}}}">{{{name|Character}}}</span></h2></div> | --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{titleforeground|#fff}}}">{{{name|Character}}}</span></h2></div> | ||
<div style=" box-shadow: 5px 5px 10px #bbf;display: block; border: | <div style=" box-shadow: 5px 5px 10px #bbf;display: block; border: 2px solid {{{border|#007}}}; vertical-align: top; background: {{{background|#fff}}}; color: {{{foreground|#000}}}; margin-bottom: 10px; padding: .8em 1em 1em 1.3em; margin-top: 0em; border-radius: 0 0 1.5em 1.5em;"><div style="display: block; float: left">{{{pic|}}}</div> | ||
{| class="StarVTable" style="margin:auto" | {| class="StarVTable" style="margin:auto" | ||
|+ | |+ | ||
|- {{# | |- {{#ifeq: {{{name|+}}} | {{{name|-}}} | | style="display:none" }} | ||
| Name || {{{name | | Name || {{{name}}} | ||
|- {{ | |- {{#ifeq: {{{race|+}}} | {{{race|-}}}| | style="display: none;" }} | ||
| Race || {{{race | | Race || {{{race}}} | ||
|-{{ | |- {{#ifeq: {{{theme|+}}} | {{{theme|-}}} | | style="display: none;" }} | ||
|Theme|| {{{theme}}} | |Theme|| {{{theme}}} | ||
|- {{ | |- {{#ifeq: {{{class|+}}} | {{{class|-}}} | | style="display: none;" }} | ||
| Class|| {{{class | | Class|| {{{class}}} | ||
|-{{ | |- {{#ifeq: {{{homeworld|+}}} | {{{homeworld|-}}} | | style="display: none;" }} | ||
| Homeword|| {{{homeworld | | Homeword|| {{{homeworld}}} | ||
|- {{ | |- {{#ifeq: {{{player|+}}} | {{{player|-}}} | | style="display: none;" }} | ||
| Player || {{{player}}} | | Player || {{{player}}} | ||
|- {{ | |- {{#ifeq: {{{faction|+}}} | {{{faction|-}}} | | style="display: none;" }} | ||
| Faction || {{{faction|}}} | | Faction || {{{faction|}}} | ||
|- {{ | |- {{#ifeq: {{{status|+}}} | {{{status|-}}} | | style="display: none;" }} | ||
| Status|| {{{status | | Status|| {{{status}}} | ||
|} | |} | ||
{{{text|{{{content|}}}}}} | |||
<div style="clear: both;"></div></div></div> | <div style="clear: both;"></div></div></div></includeonly> | ||
</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" | |||
}, | |||
"race": { | |||
"label": "Race", | |||
"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 200px", | |||
"type": "wiki-file-name" | |||
}, | |||
"text": { | |||
"label": "extra", | |||
"required": false, | |||
"aliases": [ | |||
"content" | |||
], | |||
"description": "Text below the stats-block" | |||
}, | |||
"border": { | |||
"label": "Border", | |||
"description": "Border Color" | |||
} | |||
}, | |||
"paramOrder": [ | |||
"pic", | |||
"name", | |||
"theme", | |||
"race", | |||
"class", | |||
"homeworld", | |||
"player", | |||
"faction", | |||
"status", | |||
"text", | |||
"border" | |||
] | |||
} | |||
</templatedata> | |||
=== Usage === | === Usage === | ||
<pre> | <pre> | ||
Line 80: | Line 159: | ||
|class=none | |class=none | ||
|player=Michael Sandler | |player=Michael Sandler | ||
|pic=[[File:sandler.png| | |pic=[[File:sandler.png|200px]] | ||
|faction=Party | |faction=Party | ||
}} | }} | ||
</pre> | </pre> | ||
{{Who | {{Who | ||
|name= | |name=Mike | ||
|race=Human | |race=Human | ||
|class=none | |class=none | ||
|player=Michael Sandler | |player=Michael Sandler | ||
|pic=[[File:sandler.png| | |pic=[[File:sandler.png|200px]] | ||
|faction=Party | |faction=[[Party]] | ||
}} | }} | ||
</noinclude> | </noinclude> |
Latest revision as of 12:48, 28 October 2022
Character Cards
Parameter | Description | Type | Status | |
---|---|---|---|---|
Picture | pic | A Pic - maybe with a link 200px | File | suggested |
Character name | name | Character name | Unknown | suggested |
Theme | theme | Theme | Unknown | optional |
Race | race | 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 | text content | Text below the stats-block | Unknown | optional |
Border | border | Border Color | Unknown | optional |
Usage
Name {{{name}}} Race {{{race}}} Theme {{{theme}}} Class {{{class}}} Homeword {{{homeworld}}} Player {{{player}}} Faction {{{faction}}} Status {{{status}}} Pic {{{pic}}}} extra {{{content}}} {{Who |name= |race= |theme= |class= |homeworld= |player= |faction= |status= |pic= |content=}}
This template is used to the rounded box for a PC or NPC in a rounded box
Example
{{Who |name=Mike |race=Human |class=none |player=Michael Sandler |pic=[[File:sandler.png|200px]] |faction=Party }}