Difference between revisions of "Template:Guild infobox"
m |
m (→Parameters) |
||
(12 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
! style="background:#f5e0c7; color:#000000;border-radius:2px; width:100px;" align="center" {{pipe}} Guild Officers: | ! style="background:#f5e0c7; color:#000000;border-radius:2px; width:100px;" align="center" {{pipe}} Guild Officers: | ||
{{pipe}} <div class="block2" style="color:#ffffff;">{{{officers}}}</div> | {{pipe}} <div class="block2" style="color:#ffffff;">{{{officers}}}</div> | ||
+ | }} | ||
+ | {{ #if:{{{status|}}}|{{pipe}}- valign="top" | ||
+ | ! style="background:#f2cda0; color:#000000; border-radius:2px; width:250px;" colspan="2" align="center" {{pipe}} {{{status}}} | ||
}} | }} | ||
|} | |} | ||
Line 30: | Line 33: | ||
| Template:Guild infobox = | | Template:Guild infobox = | ||
| Guild Template = | | Guild Template = | ||
− | |[[Category:Player Guild]] | + | | {{ #if: {{{title|}}} | [[Category:Player Guild]] }}{{ #ifeq: {{{status}}} | Inactive| [[Category:Player Guild/Inactive]] }} |
}} | }} | ||
<noinclude> | <noinclude> | ||
Line 36: | Line 39: | ||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
− | {{ | + | {{Guild infobox |
|title = | |title = | ||
|image = | |image = | ||
Line 42: | Line 45: | ||
|guildtype = | |guildtype = | ||
|guildlevel = | |guildlevel = | ||
− | |age = | + | |age = |
|comms = | |comms = | ||
|officers = | |officers = | ||
+ | |status = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 50: | Line 54: | ||
Long parameters will extend the width of the infobox. To keep it the correct size keep text short or use the "< br>" function | Long parameters will extend the width of the infobox. To keep it the correct size keep text short or use the "< br>" function | ||
; title | ; title | ||
− | : Required. | + | : Required. Adding the name of a guild will also apply the proper Player Guild category to a page. |
; image | ; image | ||
: Optional. Defaults to a .png image of the article's name. If specified, use <code><nowiki>[[Image:pagename_guild.png|300px|]]</nowiki></code> | : Optional. Defaults to a .png image of the article's name. If specified, use <code><nowiki>[[Image:pagename_guild.png|300px|]]</nowiki></code> | ||
Line 56: | Line 60: | ||
: Optional. A brief description of the guild. (Try to keep it under 70 characters). | : Optional. A brief description of the guild. (Try to keep it under 70 characters). | ||
; guildtype | ; guildtype | ||
− | : Required, The type of community your guild is, such as Hardcore | + | : Required, The type of community your guild is, such as Hardcore, Social, Private... |
; guildlevel | ; guildlevel | ||
: Required, Level of your guild. | : Required, Level of your guild. | ||
Line 64: | Line 68: | ||
: Optional. A list of communications platforms provided by your guild (Discord for example). | : Optional. A list of communications platforms provided by your guild (Discord for example). | ||
; officers | ; officers | ||
− | + | : Optional. A list of guild officers. | |
+ | ; status | ||
+ | : Required. Must be either '''Active''' or '''Inactive'''. | ||
==Description== | ==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. | 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. | + | 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. This infobox is used on pages built with a format listed at [[Guild:Player Guilds]]. |
===Image=== | ===Image=== | ||
Line 86: | Line 92: | ||
|guildtype = Social | |guildtype = Social | ||
|guildlevel = 10000000000 | |guildlevel = 10000000000 | ||
− | |age = 2018 | + | |age = 2018 |
− | |comms = | + | |comms = Discord |
|officers = MushroomJack, MushroomJill | |officers = MushroomJack, MushroomJill | ||
+ | |status = Active | ||
}} | }} | ||
</pre> | </pre> | ||
Line 98: | Line 105: | ||
|guildtype = Social | |guildtype = Social | ||
|guildlevel = 10000000000 | |guildlevel = 10000000000 | ||
− | |age = 2018 | + | |age = 2018 |
− | |comms = | + | |comms = Discord |
|officers = MushroomJack, MushroomJill | |officers = MushroomJack, MushroomJill | ||
+ | |status = Active | ||
}} | }} | ||
[[Category:Formatting templates|Guild infobox]] | [[Category:Formatting templates|Guild infobox]] | ||
</noinclude> | </noinclude> |
Latest revision as of 20:05, 22 April 2023
title
| |
---|---|
File:Guild infobox guild.png | |
Guild Type: | -
|
Guild Level: | -
|
Syntax
{{Guild infobox |title = |image = |caption = |guildtype = |guildlevel = |age = |comms = |officers = |status = }}
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
- Required. Adding the name of a guild will also apply the proper Player Guild category to a page.
- image
- Optional. Defaults to a .png image of the article's name. If specified, use
[[Image:pagename_guild.png|300px|]]
- caption
- Optional. A brief description of the guild. (Try to keep it under 70 characters).
- guildtype
- Required, The type of community your guild is, such as Hardcore, Social, Private...
- guildlevel
- Required, Level of your guild.
- age
- Optional. Records the creation date or year of a guild.
- comms
- Optional. A list of communications platforms provided by your guild (Discord for example).
- officers
- Optional. A list of guild officers.
- status
- Required. Must be either Active or Inactive.
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. This infobox is used on pages built with a format listed at Guild:Player Guilds.
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.
{{Guild infobox |title = The Guild |image =[[File:Hammer (skill).jpg|300px]] |caption = A social guild |guildtype = Social |guildlevel = 10000000000 |age = 2018 |comms = Discord |officers = MushroomJack, MushroomJill |status = Active }}
The Guild
| |
---|---|
A social guild
| |
Guild Type: | Social
|
Guild Level: | 10000000000
|
Created: | 2018
|
Guild Communications: | Discord
|
Guild Officers: | MushroomJack, MushroomJill
|
Active |