You need to be logged into the wiki to be able to edit! To login or join the wiki, click here. |
Template:Infobox event/doc
The infobox template is a staple among wikis, creating a sidebar to the left side containing information in a brief form. Below is the parameters of the infobox for events.
Nomad Wars | |||||
---|---|---|---|---|---|
yes | |||||
{{{above}}} | |||||
{{{header}}} | {{#if: | ||||
{{{label}}} |
}} | ||||
{{{header}}} | {{#if:{{{subheader2}}} | ||||
{{{label}}} |
}}{{{subheader2}}} | ||||
{{{header}}} | ![]() A test}} |
||||
{{{label}}} |
}}{{#if:TNT.png| ![]() A test}} | ||||
{{{header}}} | {{{caption2}}}}} |
||||
{{{label}}} |
}}{{{image2}}}{{#if:| {{{caption2}}}}} | ||||
{{#if: | |||||
}} | |||||
{{#if:Nomad Wars | |||||
Name |
}}Nomad Wars | ||||
{{safesubst:#if:Dwarves wanted resources| }}}}Dwarves wanted resources{{safesubst:#if:Dwarves wanted resources|{{safesubst:#if:| }}}} |
|||||
Began |
}}April 2nd, 2012{{safesubst:#if:April 2nd, 2012|{{safesubst:#if:Dwarves wanted resources| }}}}Dwarves wanted resources{{safesubst:#if:Dwarves wanted resources|{{safesubst:#if:| }}}} | ||||
{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} |
|||||
Ended |
}}{{safesubst:#if:|{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | ||||
{{safesubst:#if:Inkscale's groupNorthern Alliance| }}}}Inkscale's group{{safesubst:#if:Inkscale's group|{{safesubst:#if:Northern Alliance| }}}}Northern Alliance |
|||||
People/groups involved |
}}Sunbeards{{safesubst:#if:Sunbeards|{{safesubst:#if:Inkscale's groupNorthern Alliance| }}}}Inkscale's group{{safesubst:#if:Inkscale's group|{{safesubst:#if:Northern Alliance| }}}}Northern Alliance | ||||
{{safesubst:#if:DarkwoodUnnamed| }}}}Darkwood{{safesubst:#if:Darkwood|{{safesubst:#if:Unnamed| }}}}Unnamed |
|||||
Location(s) |
}}Ageos{{safesubst:#if:Ageos|{{safesubst:#if:DarkwoodUnnamed| }}}}Darkwood{{safesubst:#if:Darkwood|{{safesubst:#if:Unnamed| }}}}Unnamed | ||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{#if: | |||||
}} | |||||
{{{below}}} | |||||
Template:Navbar |
}}{{#ifeq:|yes||{{#if:Nomad WarsApril 2nd, 2012{{safesubst:#if:April 2nd, 2012|{{safesubst:#if:Dwarves wanted resources|
}}}}Dwarves wanted resources{{safesubst:#if:Dwarves wanted resources|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}Sunbeards{{safesubst:#if:Sunbeards|{{safesubst:#if:Inkscale's groupNorthern Alliance|
}}}}Inkscale's group{{safesubst:#if:Inkscale's group|{{safesubst:#if:Northern Alliance|
}}}}Northern AllianceAgeos{{safesubst:#if:Ageos|{{safesubst:#if:DarkwoodUnnamed|
}}}}Darkwood{{safesubst:#if:Darkwood|{{safesubst:#if:Unnamed|
}}}}Unnamed||{{#switch:
{{#if:
{{#ifeq:|
}}
{{#ifeq:template|template talk
}} }} }}
}}}}}}
Parameters
{{Infobox event | name = <!--The event's name, which will go on top--!> | image = <!-- Do not include brackets or 'File:'--!> | caption = <!--Size of the image--!> | Name = <!--The event's name again--!> | Start date = <!--When it started--!> | Start reason = <!--Why it started--!> | End date = <!--When it ended--!> | End reason = <!--Why/how it ended--!> | Involved1 = <!--One person/group that's inolved--!> | Involved2 = <!--Same as the first--!> | Involved3 = | Involved4 = | Involved5 = | Involved6 = | Location1 = <!--Where it happened--!> | Location2 = | Location3 = | Location4 = | Location5 = }}
Removing fields
Are some of the fields not applicable? well, one nice thing about Infoboxes is that you can remove any field you want, and it will still work.