Template:Stack: Difference between revisions

From Dead Suns Game
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
__NOEDITSECTION__ __NOTOC__
__NOEDITSECTION__ __NOTOC__<includeonly>
<div style="box-shadow: 5px 5px 10px 1px #bbf;display: block; border-radius: 25px; width:400px; height: 350px; border: 2px solid #007;padding:5px;margin: 5px;float:left;overflow: auto;background-color:#FFF;">
<div style="box-shadow: 5px 5px 10px 1px #bbf;display: block; border-radius: 25px; width:400px; height: 350px; border: 2px solid #007;padding:5px;margin: 5px;float:left;overflow: auto;background-color:#FFF;">
<div style="display: block; overflow:hidden; border-radius: 16px 0 0 0;float: left; height: 185px; width:150px; margin: 2px">{{{pic|}}}</div>
<div style="display: block; overflow:hidden; border-radius: 16px 0 0 0;float: left; height: 185px; width:150px; margin: 2px">{{{pic|}}}</div>
Line 29: Line 29:
<div style="clear: both;"></div>
<div style="clear: both;"></div>
</div>
</div>
</includeonly>
<noinclude>
<noinclude>
<div style="clear: both;"></div>
=== Usage ===
=== Usage ===
<pre>
Name    {{{name}}}
Race    {{{race}}}
Theme    {{{theme}}}
Class    {{{class}}}
Homeword {{{homeworld}}}
Player  {{{player}}}
Faction  {{{faction}}}
Status  {{{status}}}
Pic      {{{pic}}}}
extra    {{{content}}}


This template is used to the rounded box for a PC or NPC in a rounded box
{{stack
|name=
|race=
|theme=
|class=
|homeworld=
|player=
|faction=
|status=
|pic=
|content=}}


</pre>
==== Example ====
==== Example ====


&lcub;&lcub;stack|name=Mike|race=Human|theme=Indiana Jones Main Title|content=Extra text|class=none|player=Michael Sandler|pic=&lsqb;&lsqb;File:sandler.png|125px&rsqb;&rsqb;&rcub;&rcub;
<pre>
{{stack|name=Mike|race=Human|class=none|theme=Indiana Jones Main Title|content=Extra text|player=Michael Sandler|pic=[[File:sandler.png|125px]]}}
{{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}}
</pre>
{{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}}
<div style="clear: both;"></div>
<div style="clear: both;"></div>
</noinclude>
</noinclude>

Revision as of 22:45, 23 October 2022


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