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
No edit summary
imported>Darman36
Moving "Concurrent" to new line
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="float:right; width:264px; font-size:90%; text-align:left; -moz-border-radius:7px; background:transparent; padding:6px;" cellspacing="0" cellpadding="4"
<infobox>
{{#if:{{{prev|}}}|
    <group row-items="2">
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
    <data source="prev"><label>Previous</label></data>
'''''Previous'''''
    <data source="next"><label>Next</label></data>
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
</group>
{{{prev|}}}
    <group row-items="2">
{{!}}-|}}
    <data source="conc"><label>Concurrent</label></data>
{{#if:{{{conc|}}}|
    </group>
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
<image source="image"/>
'''''Concurrent'''''
<title source="name"><default>{{PAGENAME}}</default></title>
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
<group>
{{{conc|}}}
    <data source="timeframe"><label>Timeframe</label></data>
{{!}}-|}}
    <data source="conflict"><label>Conflict</label></data>
{{#if:{{{next|}}}|
    <data source="date"><label>Date</label></data>
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
    <data source="place"><label>Place</label></data>
'''''Next'''''
    <data source="outcome"><label>Outcome</label></data>
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
    <data source="key"><label>Affiliations involved</label></data>
{{{next|}}}
    <data source="participants"><label>Participants</label></data>
{{!}}-|}}
</group>
{{!}}-
</infobox><noinclude>{{Clear}}{{documentation}}</noinclude>
! class="infoboxsubheading" colspan="{{#if:{{{side4|}}}|4|{{#if:{{{side3|}}}|3|2}}}}" style="text-align:center; background:#000000;" | {{#if:{{{name|}}}|{{{name}}}|'''{{PAGENAME}}'''}}
{{!}}-
{{#if:{{{image|}}}|
! style="text-align:center;" colspan="2" {{!}} {{#if:{{{image|}}}|[[File:{{{image}}}{{!}}
250px]]}}{{#if:{{{imgdesc|}}}|<br />{{{imgdesc}}}}}
}}
{{!}}-
{{#if:{{{timeframe|}}}|
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
'''''Timeframe'''''
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
{{{timeframe|}}}
{{!}}-}}
{{#if:{{{conflict|}}}|
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
'''''Conflict'''''
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
{{{conflict|}}}
{{!}}-}}
{{#if:{{{date|}}}|
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
'''''Beginning'''''
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
{{{date|}}}
{{!}}-}}
{{#if:{{{place|}}}|
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
'''''Location'''''
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
{{{place|}}}
{{!}}-}}
{{#if:{{{result|}}}|
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
'''''Outcome'''''
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
{{{result|}}}
{{!}}-}}
{{#if:{{{key|}}}|
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
'''''Affiliations'''''
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
{{{key|}}}
{{!}}-}}
{{#if:{{{participants|}}}|
{{!}} style="vertical-align:top; padding: 0 0 0 4px; line-height:14px; width:70px !important;" {{!}}
'''''Participants'''''
{{!}} style="vertical-align:top; line-height:14px;" {{!}}
{{{participants|}}}
{{!}}-}}
|}<div class="infoboxfooter plainlinks" style="text-align: center |background:transparent|background: #000000}}"><span class="hidable-button"></span></div>
<noinclude>{{clear}}{{documentation}}[[Category:Infobox templates]]</noinclude>

Latest revision as of 16:51, 20 December 2021

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.