Difference between revisions of "Template:GuildInfo"

From SpiralKnights

Jump to: navigation, search
(Supposedly, this will automatically add all template-using pages to the guilds category)
(removing :)
 
(38 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
{{SKWindow
 
{{SKWindow
 
 
| width = 300px
 
| width = 300px
| align = left
+
| align = right
| margin = 0px 20px 20px 0px
+
| margin = 0em 0em 1em 1em
 
| title = {{{name|GuildName}}}
 
| title = {{{name|GuildName}}}
 
| body =
 
| body =
  
 
{{SKNewRow}}
 
{{SKNewRow}}
{{SKEmptyCell|[[File:GuildLogo-{{{name|UNK}}}.png]]
+
{{SKEmptyCell|[[File:GuildLogo-{{{name|UNK}}}.{{{type|png}}}{{#if: {{{logosize|}}}|{{pipe}}{{{logosize}}}px|}}]]
  
 
''{{{motto|Motto (try to keep it < 64 characters)}}}''|center||2}}
 
''{{{motto|Motto (try to keep it < 64 characters)}}}''|center||2}}
  
 
{{SKNewRow}}
 
{{SKNewRow}}
{{SKCell|'''Guild Founder'''|center||||50%}}
+
{{SKCell|'''Guild Founder:'''|right||||50%}}
 
{{SKCell|{{{founder|FounderName}}}|center}}
 
{{SKCell|{{{founder|FounderName}}}|center}}
  
 
{{SKNewRow}}
 
{{SKNewRow}}
{{SKCell|'''Populace'''|center||||50%}}
+
{{SKCell|'''Approx. Population:'''|right||||50%}}
{{SKCell|{{{populace|#}}}|center}}
+
{{SKCell|{{{pop|#}}}|center}}
  
{{SKNewRow}}
+
{{#if: {{{masters|}}} |{{SKNewRow}}
{{SKCell|'''Guild Masters'''
+
{{SKCell|'''Guild Master(s):'''
 
{{{masters|
 
{{{masters|
 
''(exclude Founder)''
 
''(exclude Founder)''
 
*MasterName
 
*MasterName
 
*MasterName
 
*MasterName
*MasterName}}}|||2}}
+
*MasterName}}}|||2}}}}
  
}}
+
{{#if: {{{officers|}}} |{{SKNewRow}}
 +
{{SKCell|'''Guild Officer(s):'''
 +
{{{officers|
 +
''(not Guild Masters/Founder)''
 +
*OfficerName
 +
*OfficerName
 +
*OfficerName}}}|||2}}}}
  
<noinclude>
+
{{#if: {{{website|}}} |{{SKNewRow}}
{| align="center" width="50%" style="background-color: transparent;"
+
{{SKCell|'''Website: '''{{{website}}}|||2}}}}
|+ '''Use the following to display quick stats of a Guild on its page.'''
+
 
|-
+
}}<noinclude>{{documentation}}
| <pre>
+
[[Category:Infobox templates]]</noinclude>
{{GuildInfo
+
| name = GuildName
+
| motto = Motto
+
| founder = FounderName
+
| masters =
+
*MasterName
+
*MasterName
+
*MasterName
+
| populace = #
+
}}
+
</pre>
+
|}
+
</noinclude>
+
 
<includeonly>[[Category:Guilds]]</includeonly>
 
<includeonly>[[Category:Guilds]]</includeonly>

Latest revision as of 20:37, 6 October 2015

GuildName
GuildLogo-UNK.png

Motto (try to keep it < 64 characters)

Guild Founder: FounderName
Approx. Population: #
[edit] [purge] Template documentation

Use the following to display quick stats of a Guild on its page. If you are using the optional variables, remove the (optional). If you do not wish to use them, you can omit those lines.

{{GuildInfo
| name = GuildName
| motto = Motto
| founder = FounderName
| master = (optional)
*MasterName
*MasterName
*MasterName
| officers = (optional)
*OfficerName
*OfficerName
*OfficerName
| pop = #
| website = http://yourwebsite.com (optional)
}}

Optional variables:

| type = gif (optional if you wish to use a non-png image)
| logosize = ## (optional if you wish to resize your guild logo, use only numbers)
Personal tools