Difference between revisions of "Template:Alliance"

From Starfleet Commander
Jump to navigationJump to search
m (corrected typo)
 
(30 intermediate revisions by 16 users not shown)
Line 1: Line 1:
<includeonly><table class="infobox" cellspacing="5" style="width: 22em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;">
+
<includeonly><table class="infobox" cellspacing="5" style="width: 25em; text-align: left; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right;">
 
<tr>
 
<tr>
     <td style="text-align:left;width:7em">'''Full Name: '''{{{name|-}}}</td>
+
     <td style="text-align:left;width:7em">'''Alliance Name: '''{{{name|-}}}</td>
 
<tr>
 
<tr>
 
<tr>
 
<tr>
     <td style="text-align:left;width:7em">'''Short Name: '''{{{id|-}}}</td>
+
     <td style="text-align:left;width:7em">'''Alliance Tag: '''{{{id|-}}}</td>
 
<tr>
 
<tr>
{{#if:{{{genre|}}}
+
<tr><td colspan="3" style="text-align:left;">'''Genre: '''{{{genre|none}}}</td></tr>
<tr><td colspan="3" style="text-align:left;">'''Genre: '''{{{genre}}}</td></tr>
 
}}
 
 
</table>
 
</table>
{{#if:{{{genre|}}}
+
[[Category:Alliances]][[Category:Community]][[Category:{{{genre|}}} Alliances]]{{{categories|[[Category:Uncategorized Alliances]]}}}
[[Category:{{{genre}}} Alliances]]
 
}}
 
 
</includeonly><noinclude>
 
</includeonly><noinclude>
 
==Parameters==
 
==Parameters==
'''<nowiki>
+
'''<nowiki>{{Alliance|name=Full Name|id=ShortNm|genre=Generic|categories=[[Category:Universe 1]]}}</nowiki>'''
{{Alliance|name=Full Name|id=ShortNm|genre=Generic}}</nowiki>'''
 
  
 
;name
 
;name
:the full name of the alliance
+
:The full name of the alliance
  
 
;id
 
;id
:the short name of the alliance
+
:The tag name of the alliance
  
 
;genre
 
;genre
 
:(optional) the genre that the alliance name comes from
 
:(optional) the genre that the alliance name comes from
  
 +
;categories
 +
:The corresponding categories of the universes your alliance is located in.
 +
:'''Example:'''
 +
:<pre><nowiki>[[Category:Universe 1]][[Category:Universe 2]]</nowiki></pre>
 +
 +
[[Category:Templates|{{PAGENAME}}]]
 
</noinclude>
 
</noinclude>

Latest revision as of 20:01, 20 December 2015

Parameters

{{Alliance|name=Full Name|id=ShortNm|genre=Generic|categories=[[Category:Universe 1]]}}

name
The full name of the alliance
id
The tag name of the alliance
genre
(optional) the genre that the alliance name comes from
categories
The corresponding categories of the universes your alliance is located in.
Example:
[[Category:Universe 1]][[Category:Universe 2]]