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>Althyk
Ugh, I'll get to these later - Undo revision 652624 by Klad (talk)
imported>Cyanide3
No edit summary
Line 1: Line 1:
<div id="Event" class="infobox hidable" style="padding: 0px;">
<infobox>
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:264px; font-size:90%; {{#if:{{{side3|}}}|300px|300px}}}}}}; "
    <group row-items="3">
|-
    <data source="prev"><label>Previous</label></data>
{{#if:{{{prev|}}}|
    <data source="conc"><label>Concurrent</label></data>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Previous'''''
    <data source="next"><label>Next</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
</group>
{{{prev|}}}
<image source="image"/>
{{!}}-|}}
<title source="name"><default>{{PAGENAME}}</default></title>
{{#if:{{{conc|}}}|
<group>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #F4F0EC}}" {{!}} '''''Concurrent'''''
    <data source="timeframe"><label>Timeframe</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
    <data source="conflict"><label>Conflict</label></data>
{{{conc|}}}
    <data source="date"><label>Date</label></data>
{{!}}-|}}
    <data source="place"><label>Place</label></data>
{{#if:{{{next|}}}|
    <data source="outcome"><label>Outcome</label></data>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Next'''''
    <data source="key"><label>Affiliations involved</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
    <data source="participants"><label>Participants</label></data>
{{{next|}}}
</group>
{{!}}-|}}
</infobox><noinclude>{{Clear}}{{documentation}}</noinclude>
|-
| class="infoboximage" colspan="2" style="text-align:center;" | {{{image|}}}
|-
! class="infoboxheading" colspan="2" style="{{#if:B0C4DE|background: #000000|background: #999999}}; {{{css|}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{#if:{{{timeframe|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Timeframe'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{timeframe|}}}
{{!}}-
|}}{{#if:{{{conflict|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Conflict'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{conflict|}}}
{{!}}-
|}}{{#if:{{{date|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Date'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{date|}}}
{{!}}-
|}}{{#if:{{{place|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Place'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{place|}}}
{{!}}-
|}}{{#if:{{{outcome|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #E5E4E2}}" {{!}} '''''Outcome'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{outcome|}}}
{{!}}-
|}}{{#if:{{{key|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Affiliations involved'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{key|}}}
{{!}}-
|}}{{#if:{{{participants|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} '''''Participants'''''
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #F4F0EC}}; {{{css|}}}" {{!}}
{{{participants|}}}
{{!}}-
|}}
|}
<div class="infoboxfooter plainlinks" style="text-align:center; background:transparent;"><span class="hidable-button"></span><small>[[{{{srclink|Template:Event}}}|[Source]]]</small></div>
{{#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. --><noinclude>{{Clear}}{{documentation}}</noinclude>

Revision as of 22:01, 7 February 2017

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.