|
|
| (10 intermediate revisions by 6 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: #F4F0EC}}" {{!}} 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: #E5E4E2|background: #999999}}}}" | {{{image|}}}
| | </infobox><noinclude>{{Clear}}{{documentation}}</noinclude> |
| |-
| |
| ! class="infoboxheading" colspan="2" style="{{#if:B0C4DE|background: #E5E4E2|background: #999999}}; {{{css|}}}" | {{{{{{2|name}}}}}}
| |
| {{#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; {{#if:B0C4DE|background: #E5E4E2|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=== | |
| *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>
| |
| 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.