Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Event Infobox: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>VatsaAWB
m Bot: Fixing redirects
imported>Paravant
Formality
Line 1: Line 1:
<small><div id="Event" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
<div id="Event" class="infobox hidable" style="padding: 0px;">
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}};"
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:264px; {{#if:{{{side3|}}}|300px|300px}}}}}};"
|-
|-
{{#if:{{{prev|}}}|
{{#if:{{{prev|}}}|
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Previous
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Previous'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
{{{prev|}}}
{{{prev|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{conc|}}}|
{{#if:{{{conc|}}}|
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #F4F0EC}}" {{!}} Concurrent
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #F4F0EC}}" {{!}} '''''Concurrent'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
{{{conc|}}}
{{{conc|}}}
{{!}}-|}}
{{!}}-|}}
{{#if:{{{next|}}}|
{{#if:{{{next|}}}|
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Next
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Next'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
{{{next|}}}
{{{next|}}}
{{!}}-|}}
{{!}}-|}}
|-
|-
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:B0C4DE|background: #E5E4E2|background: #999999}}}}" | {{{image|}}}
| class="infoboximage" colspan="2" style="text-align:center;" | {{{image|}}}
|-  
|-  
! class="infoboxheading" colspan="2" style="{{#if:B0C4DE|background: #000000|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
! class="infoboxheading" colspan="2" style="{{#if:B0C4DE|background: #000000|background: #999999}}; {{{css|}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{#if:{{{timeframe|}}}|
{{#if:{{{timeframe|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Timeframe
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Timeframe'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{timeframe|}}}
{{{timeframe|}}}
Line 29: Line 29:
|}}{{#if:{{{conflict|}}}|
|}}{{#if:{{{conflict|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Conflict
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Conflict'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{conflict|}}}
{{{conflict|}}}
Line 35: Line 35:
|}}{{#if:{{{date|}}}|
|}}{{#if:{{{date|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Date
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Date'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{date|}}}
{{{date|}}}
Line 41: Line 41:
|}}{{#if:{{{place|}}}|
|}}{{#if:{{{place|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Place
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Place'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{place|}}}
{{{place|}}}
Line 47: Line 47:
|}}{{#if:{{{outcome|}}}|
|}}{{#if:{{{outcome|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #E5E4E2}}" {{!}} Outcome
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #E5E4E2}}" {{!}} '''''Outcome'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{outcome|}}}
{{{outcome|}}}
Line 53: Line 53:
|}}{{#if:{{{key|}}}|
|}}{{#if:{{{key|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Affiliations involved
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Affiliations involved'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{key|}}}
{{{key|}}}
Line 59: Line 59:
|}}{{#if:{{{participants|}}}|
|}}{{#if:{{{participants|}}}|
{{!}}-
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Participants
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Participants'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{participants|}}}
{{{participants|}}}
Line 65: Line 65:
|}}
|}}
|}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:B0C4DE|background: #E5E4E2|background: #999999}}"><span class="hidable-button"></span>[[{{{srclink|Template:Event}}}|[Source]]]</div>
<div class="infoboxfooter plainlinks" style="text-align:center; background:transparent;"><span class="hidable-button"></span>[[{{{srclink|Template:Event}}}|[Source]]]</div>
{{#if:B0C4DE|{{rb|#B0C4DE}}|{{rb|#999999}}}}</div></small><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. --><noinclude>{{Era|sprot}}
{{#if:B0C4DE|{{rb|#B0C4DE}}|{{rb|#999999}}}}</div><!-- TEMPLATE ENDS HERE. In order to regenerate the template, replace the code above with the source code provided. -->{{Clear}}
For battles, use [[Template:Battle Infobox|Template:Battle]].
<noinclude>{{documentation}}</noinclude>
 
For wars or other conflicts, use [[Template:War]].
 
For missions, use [[Template:Mission]].
 
For duels, use [[Template:Duel]].
 
For campaigns, use [[Template:Campaign]].
 
For general events, use [[Template:Event]].
{{Clear}}
===Field list===
*width
*prev
*conc
*next
*image
*name
*timeframe (collapsible)
*conflict (collapsible)
*date (collapsible)
*place (collapsible)
*outcome (collapsible)
*key (collapsible)
*participants (collapsible)
 
===Usage===
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre><nowiki>{{Event
|width=
|prev=
|conc=
|next=
|imageBG=
|image=
|name=
|timeframe=
|conflict=
|date=
|place=
|outcome=
|key=
|participants=}}
</nowiki></pre>
 
 
<center><div style="border:1px solid; padding: 3px 0px; background: white"><small>The contents of this page were based partially or completely from a [http://starwars.wikia.com/wiki/Template:Event similar] at [http://starwars.wikia.com/wiki/Main_Page Wookiepedia.]</small></div>
 
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>

Revision as of 04:12, 6 December 2014

Event Infobox
Template documentation follows
Note: the template above may sometimes be partially or fully invisible.
Visit Template:Event_Infobox/doc to edit this documentation. (How does this work?)
Description
For battles, use Template:Battle Infobox.
For wars or other conflicts, use Template:War Infobox.
For missions, use Template:Mission Infobox.
For general events, use Template:Event Infobox.
Syntax

To use this template, paste the following code into the top of the article, filling all relevant fields:

{{Event Infobox
|prev = 
|conc = 
|next = 
|image = 
|name = 
|timeframe = 
|conflict = 
|date = 
|place = 
|outcome = 
|key = 
|participants = 
}}

The contents of this page were based partially or completely from a similar at Wookiepedia.