You need to be logged into the wiki to be able to edit! To login or join the wiki, click here. |
Difference between revisions of "Template:Infobox event/doc"
Line 1: | Line 1: | ||
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. | 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. | ||
− | {{Infobox | + | {{Infobox event |
| name = The Nomad Wars | | name = The Nomad Wars | ||
− | | | + | | Event name = Nomad Wars |
− | | | + | | Start date = April 2nd, 2012 |
− | | | + | | Start reason = Dwarves wanted resources |
− | | | + | | Involved1 = Sunbeards |
− | | | + | | Involved2 = Inkscale's group |
− | | | + | | Involved3 = Northern Alliance |
− | | | + | | Involved4 = Adf's group |
− | | | + | | Involved5 = Ageos, Darkwood, and Unnamed |
− | | | + | | Location1 = Ageos |
− | | | + | | Location2 = Darkwood |
− | | | + | | Location3 = Unnamed |
− | |||
}} | }} | ||
===Parameters=== | ===Parameters=== |
Revision as of 13:32, 13 April 2012
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}}} | yes|Template:Minx200px}}{{safesubst:#iferror:{{safesubst:#expr:{{#ifeq:|yes|Template:Minx200px}}>0}} | px}} | {{safesubst:#if: | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | frameless{{safesubst:#iferror:{{safesubst:#expr:frameless>0}} | px}}
}} }}|alt=|]]}}|{{#if: |
||||
{{{header}}} | [[File:|{{safesubst:#if:{{#ifeq:|yes|Template:Minx200px}} | yes|Template:Minx200px}}{{safesubst:#iferror:{{safesubst:#expr:{{#ifeq:|yes|Template:Minx200px}}>0}} | px}} | {{safesubst:#if: | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | frameless{{safesubst:#iferror:{{safesubst:#expr:frameless>0}} | px}}
}} }}|alt=|]]}}{{#if:| |
||||
{{{label}}} |
}} {{#if:|[[File:|{{safesubst:#if:{{#ifeq:|yes|Template:Minx200px}} |
yes|Template:Minx200px}}{{safesubst:#iferror:{{safesubst:#expr:{{#ifeq:|yes|Template:Minx200px}}>0}} | px}} | {{safesubst:#if: | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | frameless{{safesubst:#iferror:{{safesubst:#expr:frameless>0}} | px}}
}}}}|alt=|]]}}{{#if:| }} | ||||
{{{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 = | 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.