Changes

Jump to: navigation, search

Template:Guild infobox

4,022 bytes added, 15:03, 4 April 2023
Created page with "{| style="margin:1px; border:1px solid#423930; float:right; text-align:left; position:relative; border-radius:5px; background:#1e1615ff;" cellpadding="5" ! colspan="2"|<div cl..."
{| style="margin:1px; border:1px solid#423930; float:right; text-align:left; position:relative; border-radius:5px; background:#1e1615ff;" cellpadding="5"
! colspan="2"|<div class="ib-tbl-hd">[[File:Button_Cyan.png|300px]]</div> <div class="ib-tbl-hdt">{{{title|title}}}</div>
|-
| style= "width:250px;" colspan="2" align="center" | {{{image|[[Image:{{PAGENAME}}_guild.png{{pipe}}300px{{pipe}}]]}}} <br><div style="font-size:14px;color:#ffffff;">{{{caption|}}}</div>
|- valign="top"
! style="background:#eee; color:#000000;border-radius:2px; width:100px;" align="center" | Guild Type:
| <div class="block2" style="color:#ffffff;">{{{guildtype|-}}}</div>
|-
! style="background:#eee; color:#000000;border-radius:2px; width:100px;" align="center" | Guild Level:
| <div class="block2" style="color:#ffffff;">{{{guildlevel|-}}}</div>
|-
{{ #if:{{{comms|}}} |
{{pipe}}-
! style="background:#f4e6d4; color:#000000;border-radius:2px; width:100px;" align="center" {{pipe}} Guild Communications:
{{pipe}} <div class="block2" style="color:#ffffff;">{{{comms}}}</div>
}}
{{ #if:{{{officers|}}} |
{{pipe}}-
! style="background:#f5e0c7; color:#000000;border-radius:2px; width:100px;" align="center" {{pipe}} Guild Officers:
{{pipe}} <div class="block2" style="color:#ffffff;">{{{officers}}}</div>
}}
|}

{{ #switch: {{FULLPAGENAME}}
| Template:Guildinfobox =
| Guild Template =
}}
<noinclude>
__NOTOC__
==Syntax==
<pre>
{{Skill infobox
|title =
|image =
|caption =
|guildtype =
|guildlevel =
|comms =
|officers =
}}
</pre>
==Parameters==
Long parameters will extend the width of the infobox. To keep it the correct size keep text short or use the "< br>" function
; title
: Not Optional. Defaults to article name.
; image
: Optional. Defaults to a .png image of the article's name. If specified, use <code><nowiki>[[Image:pagename_skill.png|300px|]]</nowiki></code>
;caption
:Optional.
;guildtype
:Required, The type of community your guild is, such as Hardcore or Social
;guildlevel
:Required, Level of your guild
;comms
:Optional. list of communications platforms provided by your guild
;officers
;Optional. list of your guilds officers

==Description==
Create an attractive "info card" for guilds. This is another way to liven up the pages. It also provides a consistent "at a glance" information box with vital information that is consistent across all guilds.
Note that the goal is not to cover everything that can fit into the card, as that is in the body of the article. If you have any suggestions for what should/could go in the infobox, please comment on the Talk page or the author's talk page.


===Image===
The typical usage is to use this in a new article, save, and THEN upload the image by clicking the image link (which then is pre-set with the article name)
If an image already exists which name does not match the article name, or in a different format (png), specify it.
If the image is larger/smaller the box will expand/shrink to fit it, have to specify what size you want it to appear(see below) keep in mind that the text will only be 300px in length.

==Examples==
Don't mind that the Titles are wrong, the title takes the name of the page it is created on.

Here you can see examples of what The templates '''could''' look like. Please note the image format is wrong in this example.
<pre>
{{Guild infobox
|title = The Guild
|image =[[File:Hammer (skill).jpg|300px]]
|caption = A social guild
|guildtype = Social
|guildlevel = 10000000000
|comms = [[Template:Guild infobox]]
|officers = MushroomJack, MushroomJill
}}
</pre>

{{Guild infobox
|title = The Guild
|image =[[File:Hammer (skill).jpg|300px]]
|caption = A social guild
|guildtype = Social
|guildlevel = 10000000000
|comms = [[Template:Guild infobox]]
|officers = MushroomJack, MushroomJill
}}
[[Category:Formatting templates|Guild infobox]]
</noinclude>
20
edits

Navigation menu