Template:Who: Difference between revisions
From Dead Suns Game
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
__NOEDITSECTION__ __NOTOC__<div style="clear: both;"></div> | __NOEDITSECTION__ __NOTOC__ | ||
<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; padding: 0 20px 20px 20px;"> | ||
<div style="box-shadow: 5px 5px 10px #bbf;border: 1px solid {{{border|#99c}}};<!-- | <div style="box-shadow: 5px 5px 10px #bbf;border: 1px solid {{{border|#99c}}};<!-- | ||
Line 20: | 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: 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 | <div style=" box-shadow: 5px 5px 10px #bbf;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;"><div style="display: block; float: left">{{{pic|}}}</div> | ||
{| class="StarVTable" style="margin:auto" | {| class="StarVTable" style="margin:auto" | ||
|+ | |+ | ||
|- | |- | ||
| Name || {{{name|}}} | | Name || {{{name|}}} | ||
|- | |- {{if: {{{race}}} | | style="display: none;"}} | ||
| Race || {{{race|}}} | | Race || {{{race|}}} | ||
|- | |-{{if: {{{theme}}} | | style="display: none;"}} | ||
|Theme|| {{{theme | |Theme|| {{{theme}}} | ||
|- | |- {{if: {{{class}}} | | style="display: none;"}} | ||
| Class|| {{{class|}}} | | Class|| {{{class|}}} | ||
|- | |-{{if: {{{Homeworld}}} | | style="display: none;"}} | ||
| Homeword|| {{{homeworld|}}} | | Homeword|| {{{homeworld|}}} | ||
|- | |- {{if: {{{player}}} | | style="display: none;" }} | ||
| Player || {{{player | | Player || {{{player}}} | ||
|- | |- {{if: {{{faction}}} | | style="display: none;" }} | ||
| Faction || {{{faction|}}} | | Faction || {{{faction|}}} | ||
|- | |- {{if: {{{status}}} | | style="display: none;" }} | ||
| Status|| {{{status|}}} | | Status|| {{{status|}}} | ||
|} | |} | ||
{{{1|{{{text|{{{content|}}}}}}}}} | {{{1|{{{text|{{{content|}}}}}}}}} | ||
<div style="clear: both;"></div></div></div> | <div style="clear: both;"></div></div></div> | ||
</includeonly> | |||
<noinclude> | <noinclude> | ||
=== 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|125px]] | |||
}} | |||
</pre> | |||
{{Who | |||
|name=Mike | |||
|race=Human | |||
|class=none | |||
|player=Michael Sandler | |||
|pic=[[File:sandler.png|125px]] | |||
}} | |||
</noinclude> | </noinclude> |
Revision as of 21:40, 23 October 2022
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|125px]] }}
edit
Mike