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>D. Cello
No edit summary
imported>Darman36
Moving "Concurrent" to new line
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
<small><div id="Event" class="infobox hidable" style="padding: 0px; {{#if:{{{width|}}}|width:{{{width}}};|}}">
<infobox>
{| class="infoboxtable hidable-content" cellspacing="0" cellpadding="4" style="border-width: 0px; width:{{#if:{{{width|}}}|{{{width}}}|{{#if:{{{side4|}}}|350px|{{#if:{{{side3|}}}|300px|300px}}}}}};"
    <group row-items="2">
|-
    <data source="prev"><label>Previous</label></data>
{{#if:{{{prev|}}}|
    <data source="next"><label>Next</label></data>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Previous
</group>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
    <group row-items="2">
{{{prev|}}}
    <data source="conc"><label>Concurrent</label></data>
{{!}}-|}}
    </group>
{{#if:{{{conc|}}}|
<image source="image"/>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Concurrent
<title source="name"><default>{{PAGENAME}}</default></title>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
<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>
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Next
    <data source="place"><label>Place</label></data>
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}}
    <data source="outcome"><label>Outcome</label></data>
{{{next|}}}
    <data source="key"><label>Affiliations involved</label></data>
{{!}}-|}}
    <data source="participants"><label>Participants</label></data>
|-
</group>
| class="infoboximage" colspan="2" style="{{#if:{{{imageBG|}}}|background: #{{{imageBG}}}|{{#if:B0C4DE|background: #B0C4DE|background: #999999}}}}" | {{{image|}}}
</infobox><noinclude>{{Clear}}{{documentation}}</noinclude>
|-
! class="infoboxheading" colspan="2" style="{{#if:B0C4DE|background: #B0C4DE|background: #999999}}; {{{css|}}}" | {{{{{{2|<big>name</big>}}}}}}
{{#if:{{{timeframe|}}}|
{{!}}-
{{!}} class="infoboxlabel" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}" {{!}} Timeframe
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{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: #{{{3}}}|}}; {{{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: #{{{3}}}|}}" {{!}} Outcome
{{!}} class="infoboxcell" style="{{#if:{{{3|}}}|background: #{{{3}}}|}}; {{{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: #{{{3}}}|}}; {{{css|}}}" {{!}}
{{{participants|}}}
{{!}}-
|}}
|}
<div class="infoboxfooter plainlinks" style="text-align: center; {{#if:B0C4DE|background: #B0C4DE|background: #999999}}"><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}}
For battles, use [[Template:Battle]].
 
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===
*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/Wookieepedia:Maintenance similar] at [http://starwars.wikia.com/wiki/Main_Page Wookiepedia.]</small></div>
 
[[Category:Infobox templates|{{PAGENAME}}]]</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.