Difference between revisions of "Template:Guild infobox"

From Project: Gorgon Wiki
Jump to: navigation, search
m
m (Parameters)
 
(6 intermediate revisions by the same user not shown)
Line 33: Line 33:
 
| Template:Guild infobox =  
 
| Template:Guild infobox =  
 
| Guild Template =
 
| Guild Template =
| {{ #ifeq: {{{status}}} | Active| [[Category:Player Guild]] }}
+
| {{ #if: {{{title|}}} | [[Category:Player Guild]] }}{{ #ifeq: {{{status}}} | Inactive| [[Category:Player Guild/Inactive]] }}
 
}}
 
}}
 
<noinclude>
 
<noinclude>
Line 39: Line 39:
 
==Syntax==
 
==Syntax==
 
<pre>
 
<pre>
{{Skill infobox
+
{{Guild infobox
 
|title            =
 
|title            =
 
|image            =
 
|image            =
Line 48: Line 48:
 
|comms            =  
 
|comms            =  
 
|officers        =
 
|officers        =
 +
|status          =
 
}}
 
}}
 
</pre>
 
</pre>
Line 53: 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. Defaults to article name.
+
: 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 59: 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 or Social.
+
: 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 67: 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.
+
: 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===

Latest revision as of 21:05, 22 April 2023

Button Cyan.png
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
}}
Button Cyan.png
The Guild
Hammer (skill).jpg
A social guild
Guild Type:
Social
Guild Level:
10000000000
Created:
2018
Guild Communications:
Discord
Guild Officers:
MushroomJack, MushroomJill
Active