Template:Who: Difference between revisions

From Dead Suns Game
Jump to navigationJump to search
No edit summary
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div>  
__NOEDITSECTION__ __NOTOC__
<div style="display: block; float: right; width: 500px; padding: 20px;">
<includeonly><div style="clear: both;"></div>  
<div style="border: 1px solid {{{border|#99c}}};<!--
<div style="display: block; float: right; width: 500px; max-width: 95%; padding: 0 20px 20px 20px;">
         -->background: {{{titlebackground|#ccf}}};<!--
<div style="box-shadow: 5px 5px 10px #bbf;border: 2px solid {{{border|#007}}};<!--
         -->color: {{{titleforeground|#000}}};<!--
         -->background: {{{titlebackground|#007}}};<!--
         -->color: {{{titleforeground|#fff}}};<!--
         -->padding: 0.1em;<!--
         -->padding: 0.1em;<!--
         -->text-align: center;<!--
         -->text-align: center;<!--
Line 17: Line 18:
               -->font-size: 80%;<!--
               -->font-size: 80%;<!--
               -->padding-right: 0.5em;"><!--
               -->padding-right: 0.5em;"><!--
         --><span style="color:{{{titleforeground|#000000}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</span>&nbsp;<!--
         --><span style="color:{{{titleforeground|#fff}}}">[{{fullurl:{{{editpage|{{FULLPAGENAME}}}}}|action=edit}} {{int:editsection}}]</span>&nbsp;<!--
   --></span ><!--
   --></span ><!--
   --><h2 style="font-size:100%;font-weight:bold;border: none; margin: 0; padding:0; padding-bottom:.1em;"><span style="color:{{{titleforeground|#000000}}}">{{{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="display: block; border: 1px solid {{{border|#99c}}}; 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; {{{style|}}};"><div style="display: block; float: left">{{{pic|}}}</div>
<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="wikitable" 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}}}
|}
|}
{{{1|{{{text|{{{content|}}}}}}}}}
{{{text|{{{content|}}}}}}
<div style="clear: both;"></div></div></div>
<div style="clear: both;"></div></div></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"
},
"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>
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
This template is used to the rounded box for a PC or NPC in a rounded box


==== Example ====
==== 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]]
}}


&lcub;&lcub;wheo|name=Mike|race=Human|theme=Indiana Jones Main Title|class=none|player=Michael Sandler|pic=&lsqb;&lsqb;File:sandler.png|125px&rsqb;&rsqb;&rcub;&rcub;
{{who|name=Mike|race=Human|class=none|theme=Indiana Jones Main Title|homeworld=Earth|faction=Gamer|status=Partnered|player=Michael Sandler|pic=[[File:sandler.png|200px]]}}
</noinclude>
</noinclude>

Latest revision as of 12:48, 28 October 2022


Character Cards

Template parameters

ParameterDescriptionTypeStatus
Picturepic

A Pic - maybe with a link 200px

Filesuggested
Character namename

Character name

Unknownsuggested
Themetheme

Theme

Unknownoptional
Racerace

Theme

Unknownoptional
Classclass

Class

Unknownoptional
Homeworldhomeworld

Homeworld

Unknownoptional
Playerplayer

Player

Unknownoptional
Factionfaction

Faction

Unknownoptional
Statusstatus

Alive? Dead? Missing?

Unknownoptional
extratext content

Text below the stats-block

Unknownoptional
Borderborder

Border Color

Unknownoptional

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
}}
edit 

Mike

Sandler.png
Name Mike
Race Human
Theme {{{theme}}}
Class none
Homeword {{{homeworld}}}
Player Michael Sandler
Faction Party
Status {{{status}}}