Template:Stack: Difference between revisions

From Dead Suns Game
Jump to navigationJump to search
No edit summary
No edit summary
Line 4: Line 4:
<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: 200px;"
{| class="StarVTable" style="margin:auto; width: 235px;"
|+
|+
|- {{#ifeq: {{{name|+}}} | {{{name|-}}} | | style="display:none" }}
|- {{#ifeq: {{{name|+}}} | {{{name|-}}} | | style="display:none" }}

Revision as of 08:25, 24 October 2022



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
|content=
|player=Vin Deisel
|class=Unknown
|theme=Unknown
|race=Human|status=Unknown
|homeworld=Earth
|faction=Unaligned
|content=Just some text}}
Sir Not Appearing.jpg
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