Template:Who: Difference between revisions
From Dead Suns Game
Jump to navigationJump to search
(Created page with "__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div> <div style="border: 1px solid {{{border|#99c}}};<!-- -->background: {{{titlebackground|#ccf}}};<!-- -->color: {{{titleforeground|#000}}};<!-- -->padding: 0.1em;<!-- -->text-align: center;<!-- -->font-weight: bold;<!-- -->font-size: 100%;<!-- -->margin-bottom: 0px;<!-- -->border-bottom: none;<!-- -->border-radius: 1.5em 1.5em 0 0;<!...") |
No edit summary |
||
(38 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div> | __NOEDITSECTION__ __NOTOC__ | ||
<div style="border: | <includeonly><div style="clear: both;"></div> | ||
-->background: {{{titlebackground|# | <div style="display: block; float: right; width: 500px; max-width: 95%; padding: 0 20px 20px 20px;"> | ||
-->color: {{{titleforeground|# | <div style="box-shadow: 5px 5px 10px #bbf;border: 2px solid {{{border|#007}}};<!-- | ||
-->background: {{{titlebackground|#007}}};<!-- | |||
-->color: {{{titleforeground|#fff}}};<!-- | |||
-->padding: 0.1em;<!-- | -->padding: 0.1em;<!-- | ||
-->text-align: center;<!-- | -->text-align: center;<!-- | ||
Line 16: | Line 18: | ||
-->font-size: 80%;<!-- | -->font-size: 80%;<!-- | ||
-->padding-right: 0.5em;"><!-- | -->padding-right: 0.5em;"><!-- | ||
--><span style="color:{{{titleforeground|# | --><span style="color:{{{titleforeground|#fff}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</span> <!-- | ||
--></span ><!-- | --></span ><!-- | ||
--><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{titleforeground|# | --><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="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" | ||
|+ | |||
|- {{#ifeq: {{{name|+}}} | {{{name|-}}} | | style="display:none" }} | |||
| Name || {{{name}}} | |||
|- {{#ifeq: {{{race|+}}} | {{{race|-}}}| | style="display: none;" }} | |||
| Race || {{{race}}} | |||
|- {{#ifeq: {{{theme|+}}} | {{{theme|-}}} | | style="display: none;" }} | |||
|Theme|| {{{theme}}} | |||
|- {{#ifeq: {{{class|+}}} | {{{class|-}}} | | style="display: none;" }} | |||
| Class|| {{{class}}} | |||
|- {{#ifeq: {{{homeworld|+}}} | {{{homeworld|-}}} | | style="display: none;" }} | |||
| Homeword|| {{{homeworld}}} | |||
|- {{#ifeq: {{{player|+}}} | {{{player|-}}} | | style="display: none;" }} | |||
| Player || {{{player}}} | |||
|- {{#ifeq: {{{faction|+}}} | {{{faction|-}}} | | style="display: none;" }} | |||
| Faction || {{{faction|}}} | |||
|- {{#ifeq: {{{status|+}}} | {{{status|-}}} | | style="display: none;" }} | |||
| Status|| {{{status}}} | |||
|} | |||
{{{text|{{{content|}}}}}} | |||
<div style="clear: both;"></div></div></div></includeonly> | |||
<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 === | |||
<pre> | |||
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=}} | |||
</pre> | |||
This template is used to the rounded box for a PC or NPC in a rounded box | |||
==== Example ==== | |||
<pre> | |||
{{Who | |||
|name=Mike | |||
|race=Human | |||
|class=none | |||
|player=Michael Sandler | |||
|pic=[[File:sandler.png|200px]] | |||
|faction=Party | |||
}} | |||
</pre> | |||
{{Who | |||
|name=Mike | |||
|race=Human | |||
|class=none | |||
|player=Michael Sandler | |||
|pic=[[File:sandler.png|200px]] | |||
|faction=[[Party]] | |||
}} | |||
</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 }}