Template:Infobox: Difference between revisions

From Simplicitypvp
Jump to navigation Jump to search
No edit summary
No edit summary
Line 5: Line 5:
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
{{!}}-
{{!}}-
{{!}}[[Image:{{{image}}}]]
{{!}} [[Image:{{{image}}}]]
|}}
|}}
{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
{{!}}-
{{!}}-
{{!}}'''Name''': {{{name}}}
{{!}} '''Name''': {{{name}}}
|}}
|}}
{{#if:{{{ign|}}}|
{{#if:{{{ign|}}}|
{{!}}-
{{!}}-
{{!}}'''Ingame name''': {{{ign}}}
{{!}} '''Ingame name''': {{{ign}}}
|}}
|}}
{{#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|}}}|<!-- Location line -->
{{#if:{{{location|}}}|<!-- Location line -->
{{!}}-
{{!}}-
{{!}}'''Location''': {{{location}}}
{{!}} '''Location''': {{{location}}}
|}}
|}}
{{#if:{{{coords|}}}|
{{#if:{{{coords|}}}|
{{!}}-
{{!}}-
{{!}}'''Coords''': {{{coords}}}
{{!}} '''Coords''': {{{coords}}}
|}}
|}}
{{#if:{{{alts|}}}|
{{#if:{{{alts|}}}|
{{!}}-
{{!}}-
{{!}}'''Alts''': {{{alts}}}
{{!}} '''Alts''': {{{alts}}}
|}}
|}}
|}
|}

Revision as of 10:35, 19 November 2013

Infobox
Type of article must be specified!







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 given in singular, with capital inital -->
|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 -->
|nickname   =  <!-- Commonly used name, or proper name. Can be used for both player, location, event and other -->
|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 -->
|alts       =  <!-- A list of known alt accounts for a given player -->
|formed     =  <!-- The date a base or team was formed -->
|abandoned  =  <!-- The date a base was abandoned -->
|disbanded  =  <!-- The date a team was disbanded -->
}}