Difference between revisions of "Template:Squadron Infobox"

From TheHolo.Net Forums Wiki

Jump to:navigation, search
m
 
(12 intermediate revisions by 2 users not shown)
Line 2: Line 2:
  
 
To use the template, simply copy and paste the code below into a new group template.
 
To use the template, simply copy and paste the code below into a new group template.
<pre><nowiki>{{Group_Infobox
+
<pre><nowiki>{{Squadron_Infobox
| Title=Group Datasheet
+
 
| Image=image  
 
| Image=image  
| Unit=Name
+
| Unit=Squadron
 
| Leader=Leader
 
| Leader=Leader
 
| Ships=Craft
 
| Ships=Craft
Line 12: Line 11:
 
{{clear}}
 
{{clear}}
 
<div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #E8ECF4;background:#E8ECF4;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
 
<div style="width:250px;float:right;clear:right;margin:1em 0 1em 1em;border:1px solid #E8ECF4;background:#E8ECF4;-moz-border-radius:10px;padding:10px 10px 10px 10px;">
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">{{{Title}}}
+
<div style="text-align:center;font-size:16px;font-weight:900;line-height:1.5em;">[[Image:{{{Image}}}|{{{ImageSize|248px}}}|center]]<br></div>
 
<div class="hiddenStructure{{{Actor|}}}" style="width:250px;clear:left;font-size:10px;text-align:center">
 
<div class="hiddenStructure{{{Actor|}}}" style="width:250px;clear:left;font-size:10px;text-align:center">
 
</div>
 
</div>
<div class="hiddenStructure{{{Image|}}}">[[Image:{{{Image}}}|{{{ImageSize|248px}}}|center]]</div></div>
+
 
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid #000000;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:2px solid #000000;">
 
<div style="width:80px;float:left;text-align:left;">Designation</div>
 
<div style="width:80px;float:left;text-align:left;">Designation</div>
Line 21: Line 20:
 
</div>
 
</div>
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #000000;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #000000;">
<div style="width:80px;float:left;text-align:left;">Commander</div>
+
<div style="width:80px;float:left;text-align:left;">Leader(s)</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Leader}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Leader}}}</div>
 
</div>
 
</div>
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #000000;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #000000;">
<div style="width:80px;float:left;text-align:left;">Craft</div>
+
<div style="width:80px;float:left;text-align:left;">Ships</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Ships}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Ships}}}</div>
 
</div>
 
</div>
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #000000;">
 
<div style="clear:left;font-size:12px;text-align:center;border-top:1px solid #000000;">
<div style="width:80px;float:left;text-align:left;">Home Base</div>
+
<div style="width:80px;float:left;text-align:left;">Base</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Base}}}</div>
 
<div style="width:170px;float:left;text-align:right;">{{{Base}}}</div>
 
</div>
 
</div>
Line 37: Line 36:
  
 
</div></div>
 
</div></div>
<noinclude>[[Category:Group_Templates]]</noinclude>
+
<noinclude>[[Category:Misc Templates]]</noinclude>

Latest revision as of 19:06, 12 March 2013

usage

To use the template, simply copy and paste the code below into a new group template.

{{Squadron_Infobox
| Image=image 
| Unit=Squadron
| Leader=Leader
| Ships=Craft
| Base=Base of Operations
}}
[[Image:{{{Image}}}|248px|center]]
Designation
{{{Unit}}}
Leader(s)
{{{Leader}}}
Ships
{{{Ships}}}
Base
{{{Base}}}