| 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"
(Created page with "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. {{In...") |
|||
| Line 37: | Line 37: | ||
| Location3 = | | Location3 = | ||
| Location4 = | | Location4 = | ||
| − | | | + | | Location5 = |
| − | |||
}} | }} | ||
</pre> | </pre> | ||
Revision as of 14:51, 12 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.
| The 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}}}}} | User info}} | {{#if: | |||||||||
}} | ||||||||||||
| {{#if:The Nomad Wars | ||||||||||||
| Username |
}}The Nomad Wars | |||||||||||
| {{#if:December, 2010 | ||||||||||||
| Join Date |
}}December, 2010 | |||||||||||
| {{#if: | ||||||||||||
| Disappeared |
}} | |||||||||||
| {{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} |
||||||||||||
| Perma-Banned |
}}{{safesubst:#if:|{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | |||||||||||
| {{#if: | ||||||||||||
| Left |
}} | |||||||||||
| {{#if: | ||||||||||||
| Town |
}} | |||||||||||
| {{#if: | ||||||||||||
| Nation |
}} | |||||||||||
| {{#if: | ||||||||||||
| Donated |
}} | |||||||||||
| {{safesubst:#if:March 2nd, 2012| }}}}March 2nd, 2012{{safesubst:#if:March 2nd, 2012|{{safesubst:#if:| }}}} |
||||||||||||
| Mod |
}}Wiki Mod{{safesubst:#if:Wiki Mod|{{safesubst:#if:March 2nd, 2012| }}}}March 2nd, 2012{{safesubst:#if:March 2nd, 2012|{{safesubst:#if:| }}}} | |||||||||||
| {{safesubst:#if:Had a popular shop in 2.0| }}}}Had a popular shop in 2.0{{safesubst:#if:Had a popular shop in 2.0|{{safesubst:#if:| }}}} |
||||||||||||
| Player known for |
}}Created infoboxes for Kiwiki (like this one!){{safesubst:#if:Created infoboxes for Kiwiki (like this one!)|{{safesubst:#if:Had a popular shop in 2.0| }}}}Had a popular shop in 2.0{{safesubst:#if:Had a popular shop in 2.0|{{safesubst:#if:| }}}} | |||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| RP Info | {{#if: | |||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
| RP Name |
}} | |||||||||||
| {{#if:97 | ||||||||||||
| Age |
}}97 | |||||||||||
| {{#if:Altarnius | ||||||||||||
| Land of origin |
}}Altarnius | |||||||||||
| {{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} |
||||||||||||
| Character known for |
}}Was part of the first spaceship to crash on Kiwike{{safesubst:#if:Was part of the first spaceship to crash on Kiwike|{{safesubst:#if:| }}}}{{safesubst:#if:|{{safesubst:#if:| }}}} | |||||||||||
| {{#if: | ||||||||||||
| Occupation |
}} | |||||||||||
| {{#if: | ||||||||||||
| Years active |
}} | |||||||||||
| {{#if: | ||||||||||||
| Employer |
}} | |||||||||||
| {{#if: | ||||||||||||
| Organization |
}} | |||||||||||
| {{#if: | ||||||||||||
| Agent |
}} | |||||||||||
| {{#if: | ||||||||||||
| Known for |
}} | |||||||||||
| {{{credits}}}|}} | Notable credit(s)|Notable work(s)}} | Notable credit(s)|Notable work(s)}} |
}}{{#if:|{{{credits}}}|}} |
}}
}}{{#if:
|||||||||
| {{#if: | ||||||||||||
| Style |
}} | |||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
| Influenced |
}} | |||||||||||
| {{#if: | ||||||||||||
| Home town |
}} | |||||||||||
| {{#if: | ||||||||||||
| Salary |
}} | |||||||||||
| {{#if: | ||||||||||||
| Net worth |
}} | |||||||||||
| {{#if: | ||||||||||||
| Height |
}} | |||||||||||
| {{#if: | ||||||||||||
| Weight |
}} | |||||||||||
| {{#if: | ||||||||||||
| Television |
}} | |||||||||||
| {{#if: | ||||||||||||
| Title |
}} | |||||||||||
| {{#if: | ||||||||||||
| Term |
}} | |||||||||||
| {{#if: | ||||||||||||
| Predecessor |
}} | |||||||||||
| {{#if: | ||||||||||||
| Successor |
}} | |||||||||||
| {{#if: | ||||||||||||
| Political party |
}} | |||||||||||
| {{#if: | ||||||||||||
| Political movement |
}} | |||||||||||
| {{#if: | ||||||||||||
| Opponent(s) |
}} | |||||||||||
| {{#if: | ||||||||||||
| Board member of |
}} | |||||||||||
| {{#if: | ||||||||||||
| Religion |
}} | |||||||||||
| {{#if: | ||||||||||||
| Denomination |
}} | |||||||||||
| {{#if: | ||||||||||||
| Criminal charge |
}} | |||||||||||
| {{#if: | ||||||||||||
| Criminal penalty |
}} | |||||||||||
| {{#if: | ||||||||||||
| Criminal status |
}} | |||||||||||
| {{#if: | ||||||||||||
| Spouse |
}} | |||||||||||
| {{#if: | ||||||||||||
| Partner |
}} | |||||||||||
| {{#if: | ||||||||||||
| Children |
}} | |||||||||||
| {{#if: | ||||||||||||
| Parents |
}} | |||||||||||
| {{#if: | ||||||||||||
| Relatives |
}} | |||||||||||
| {{#if: | ||||||||||||
| Family |
}} | |||||||||||
| {{#if: | ||||||||||||
| Call-sign |
}} | |||||||||||
| {{#if: | ||||||||||||
| Awards |
}} | |||||||||||
| [[File:{{{signature}}}|{{safesubst:#if: | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | {{safesubst:#if:150px | 150px{{safesubst:#iferror:{{safesubst:#expr:150px>0}} | px}} | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}}
}} }}|alt=]]}} |
|||||
| Signature |
}} {{#if:|[[File:{{{signature}}}|{{safesubst:#if: |
{{safesubst:#iferror:{{safesubst:#expr:>0}} | px}} | {{safesubst:#if:150px | 150px{{safesubst:#iferror:{{safesubst:#expr:150px>0}} | px}} | {{safesubst:#iferror:{{safesubst:#expr:>0}} | px}}
}}}}|alt=]]}} | ||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | Website}} | {{#if: | ||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if: | ||||||||||||
}} | ||||||||||||
| {{#if:|Notes {{{footnotes}}} }} | ||||||||||||
| Template:Navbar | ||||||||||||
}}{{#ifeq:|yes||{{#if:The Nomad WarsDecember, 2010{{safesubst:#if:|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}Wiki Mod{{safesubst:#if:Wiki Mod|{{safesubst:#if:March 2nd, 2012|
}}}}March 2nd, 2012{{safesubst:#if:March 2nd, 2012|{{safesubst:#if:|
}}}}Created infoboxes for Kiwiki (like this one!){{safesubst:#if:Created infoboxes for Kiwiki (like this one!)|{{safesubst:#if:Had a popular shop in 2.0|
}}}}Had a popular shop in 2.0{{safesubst:#if:Had a popular shop in 2.0|{{safesubst:#if:|
}}}}97AltarniusWas part of the first spaceship to crash on Kiwike{{safesubst:#if:Was part of the first spaceship to crash on Kiwike|{{safesubst:#if:|
}}}}{{safesubst:#if:|{{safesubst:#if:|
}}}}{{#if:|{{{credits}}}|}}{{#if:|[[File:{{{signature}}}|{{safesubst:#if:
}}
}}|alt=]]}}||{{#switch:
{{#if:
{{#ifeq:|
}}
{{#ifeq:template|template talk
}}
}}
}}
}}}}}}{{#switch:
}}{{#ifeq:Template||{{#if:|{{#ifeq:Template||}}}}{{#if:|}}{{#if:|{{#if:|}}}}}}{{#if:|}}{{#switch:
{{#if:
}} }}
}}
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.