Template:Infobox: Difference between revisions

From Simplicitypvp
Jump to navigation Jump to search
mNo edit summary
m (Testing fix)
Line 12: Line 12:
{{!}}-
{{!}}-
{{!}} [[Image:{{{image}}}]]
{{!}} [[Image:{{{image}}}]]
|}}
}}
{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
{{!}}-
{{!}}-
{{!}} '''Name''': {{{name}}}
{{!}} '''Name''': {{{name}}}
|}}
}}
{{#if:{{{ign|}}}|
{{#if:{{{ign|}}}|
{{!}}-
{{!}}-
{{!}} '''Ingame name''': {{{ign}}}
{{!}} '''Ingame name''': {{{ign}}}
|}}
}}
{{#if:{{{alts|}}}|
{{#if:{{{alts|}}}|
{{!}}-
{{!}}-
{{!}} '''Alts''': {{{alts}}}
{{!}} '''Alts''': {{{alts}}}
|}}
}}
{{#if:{{{status|}}}|
{{#if:{{{status|}}}|
{{!}}-
{{!}}-
{{!}} '''Status''': {{{status}}}
{{!}} '''Status''': {{{status}}}
|}}
}}
{{#if:{{{date|}}}|
{{#if:{{{date|}}}|
{{!}}-
{{!}}-
{{!}} '''Date''': {{{date}}}
{{!}} '''Date''': {{{date}}}
|}}
}}
{{#if:{{{joined|}}}|
{{#if:{{{joined|}}}|
{{!}}-
{{!}}-
{{!}} '''First joined''': {{{joined}}}
{{!}} '''First joined''': {{{joined}}}
|}}
}}
{{#if:{{{lastseen|}}}|
{{#if:{{{lastseen|}}}|
{{!}}-
{{!}}-
{{!}} '''Last seen''': {{{lastseen}}}
{{!}} '''Last seen''': {{{lastseen}}}
|}}
}}
{{#if:{{{formed|}}}|
{{#if:{{{formed|}}}|
{{!}}-
{{!}}-
{{!}} '''Formed''': {{{formed}}}
{{!}} '''Formed''': {{{formed}}}
|}}
}}
{{#if:{{{abandoned|}}}|
{{#if:{{{abandoned|}}}|
{{!}}-
{{!}}-
{{!}} '''Abandoned''': {{{abandoned}}}
{{!}} '''Abandoned''': {{{abandoned}}}
|}}
}}
{{#if:{{{disbanded|}}}|
{{#if:{{{disbanded|}}}|
{{!}}-
{{!}}-
{{!}} '''Disbanded''': {{{disbanded}}}
{{!}} '''Disbanded''': {{{disbanded}}}
|}}
}}
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
{{!}}-
{{!}}-
{{!}} '''Location''': {{{location}}}
{{!}} '''Location''': {{{location}}}
|}}
}}
{{#if:{{{coords|}}}|
{{#if:{{{coords|}}}|
{{!}}-
{{!}}-
{{!}} '''Coords''': {{{coords}}}
{{!}} '''Coords''': {{{coords}}}
|}}
}}
{{#if:{{{clans|}}}|
{{#if:{{{clans|}}}|
{{!}}-
{{!}}-
{{!}} '''Clans''': {{{clans}}}
{{!}} '''Clans''': {{{clans}}}
|}}
}}
{{#if:{{{bases|}}}|
{{#if:{{{bases|}}}|
{{!}}-
{{!}}-
{{!}} '''Bases''': {{{bases}}}
{{!}} '''Bases''': {{{bases}}}
|}}
}}
|}
|}
{{ #switch: {{{type|}}}
{{ #switch: {{{type|}}}

Revision as of 18:18, 21 November 2013

Usage

All arguments except type are optional. This template is supposed to be universal for all uses.


{{Infobox
|type       = <!-- The type of article this is. MUST be either admin, player, place, base or event -->
|image      = <!-- An image to be displayed at the top of the infobox (images will be enabled wiki-wide later) -->
|ign        = <!-- The ingame name of a player, use only for exact minecraft account names -->
|name       = <!-- Commonly used name, or proper name. Can be used for both player, location, event and other -->
|alts       = <!-- A list of known alt accounts for a given player -->
|status     = <!-- The current status of something (active player, left, disbanded clan, etc) -->
|date       = <!-- The date of an event. Use for events and the such -->
|joined     = <!-- The date a player first joined the server -->
|lastseen   = <!-- When a player was last seen, use for players who are no longer active -->
|location   = <!-- Either an ingame location for bases, or irl location for players -->
|coords     = <!-- The coords of something. Must be given in x and y value -->
|formed     = <!-- The date a base or team was formed -->
|abandoned  = <!-- The date a base was abandoned -->
|disbanded  = <!-- The date a team was disbanded -->
|clans      = <!-- A list of clans a player or base is known to have been connected to -->
|bases      = <!-- A list of bases a player or clan is known to have occupied or otherwise been connected with -->
}}