Difference between revisions of "Template:GuildInfo"

From SpiralKnights

Jump to: navigation, search
m
(removing :)
 
(35 intermediate revisions by 7 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}}
Line 20: Line 19:
 
{{SKCell|{{{pop|#}}}|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}}
 
{{#if: {{{officers|}}} |{{SKNewRow}}
{{SKCell|'''Guild Officers:'''
+
{{SKCell|'''Guild Officer(s):'''
 
{{{officers|
 
{{{officers|
 
''(not Guild Masters/Founder)''
 
''(not Guild Masters/Founder)''
Line 36: Line 35:
 
*OfficerName}}}|||2}}}}
 
*OfficerName}}}|||2}}}}
  
}}
+
{{#if: {{{website|}}} |{{SKNewRow}}
 +
{{SKCell|'''Website: '''{{{website}}}|||2}}}}
  
<noinclude>
+
}}<noinclude>{{documentation}}
{| align="center" width="50%" style="background-color: transparent;"
+
[[Category:Infobox templates]]</noinclude>
|+ '''Use the following to display quick stats of a Guild on its page.'''
+
|-
+
| <pre>
+
{{GuildInfo
+
| name = GuildName
+
| motto = Motto
+
| founder = FounderName
+
| masters =
+
*MasterName
+
*MasterName
+
*MasterName
+
| officers =
+
*OfficerName
+
*OfficerName
+
*OfficerName
+
| pop = #
+
}}
+
</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