Template:Public Event infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "class="infobox" cellspacing="0" style="([^"\n]+)"" to "class="infobox" style="$1" cellspacing="0"")
m (Text replacement - "{{!}}-}}" to "}} |-")
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="infobox" style="width:260px; background:{{{BG|#471d03}}}; color:{{{color1|#000}}}" cellspacing="0"
{| class="infobox" style="width:260px; background:{{{BG|#471d03}}}; color:{{{color1|#000}}}" cellspacing="0"
{{!}}-
! class="infoboxheading" colspan="2" style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#fff}}}" class="infoboxheading" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
|-
{{!}}-
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
! style="background:{{{imageBG|#B4C5E3}}}; border-bottom:1px solid {{{lineBG|#999}}}" colspan="2" class="infoboxmedia" {{!}} {{{image|}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}} class="infoboxmedia" colspan="2" style="background:{{{imageBG|#B4C5E3}}}; border-bottom:1px solid {{{lineBG|#999}}}" {{!}} {{{image}}} {{#if:{{{caption|}}}|{{clear}}{{{caption}}}}}
{{!}}-}}
}}
|-
{{#if:{{{light|}}}|
{{#if:{{{light|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''Recommended Light Level''':
Recommended Light Level:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{light|}}}
{{{light}}}
{{!}}-}}
}}
|-
{{#if:{{{place|}}}|
{{#if:{{{place|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{place-title|Location}}}''':
{{{place-title|Location}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{place|}}}
{{{place}}}
{{!}}-}}
}}
|-
{{#if:{{{enemies|}}}|
{{#if:{{{enemies|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{enemies-title|Enemies}}}''':
{{{enemies-title|Enemies}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{enemies|}}}
{{{enemies}}}
{{!}}-}}
}}
|-
{{#if:{{{objective|}}}|
{{#if:{{{objective|}}}|
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxlabel" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
'''{{{objective-title|Objective(s)}}}''':
{{{objective-title|Objective(s)}}}:
{{!}} class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{{objective|}}}
{{{objective}}}
{{!}}-}}
}}
|-
{{#if:{{{nowalk|}}}||
{{#if:{{{nowalk|}}}||
{{!}} class="infoboxcell" class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{#ifexist:{{PAGENAME}}/Walkthrough|Destinypedia has a walkthrough guide to this level, {{PAGENAME}}. See [[{{PAGENAME}}/Walkthrough]].|Destinypedia doesn't currently have a walkthrough for this public event, could you [{{FULLURL:{{PAGENAME}}/Walkthrough|action=edit}} write it]?}}
{{#ifexist:{{PAGENAME}}/Walkthrough|Destinypedia has a walkthrough guide to this level, {{PAGENAME}}. See [[{{PAGENAME}}/Walkthrough]].|Destinypedia doesn't currently have a walkthrough for this public event, could you [{{FULLURL:{{PAGENAME}}/Walkthrough|action=edit}} write it]?}}
{{!}}-}}
}}
|-
| class="infoboxfooter" colspan="2" |  
| class="infoboxfooter" colspan="2" |  
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}
==Usage==
==Usage==
To use this template, paste the following code into the top of the article, filling all relevant fields:
To use this template, paste the following code into the top of the article, filling all relevant fields:
<pre>
<pre>
{{Public Event Infobox
{{Public Event Infobox
Line 51: Line 57:
===Optional fields===
===Optional fields===
All fields are ''optional''. Fields not filled will not display a row.
All fields are ''optional''. Fields not filled will not display a row.
*'''nowalk'''
*nowalk
**Disables the walkthrough available/unavailable notice. Use for cutscenes.
**Disables the walkthrough available/unavailable notice. Use for cutscenes.
**Set to any non-empty value to use.
**Set to any non-empty value to use.

Latest revision as of 10:15, October 18, 2022

Public Event infobox

Destinypedia doesn't currently have a walkthrough for this public event, could you write it?

 

Usage

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

{{Public Event Infobox
|name=
|image=
|light=
|place=
|enemies=
|objective=
}}

Optional fields

All fields are optional. Fields not filled will not display a row.

  • nowalk
    • Disables the walkthrough available/unavailable notice. Use for cutscenes.
    • Set to any non-empty value to use.
|imageBG=
|nameBG=
|sectionBG=
|fieldBG=
|titleBG=