Template:Public Event infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "{{#if:({{{[^\|}\n]+\|}}})\|↵{{!}} ?class="infoboxlabel" style="background:([^\n;"]+); border-color:([^\n;"]+)" {{!}}↵([^\n]+):↵{{!}} ?class="infoboxcell" style="[^\n"]+" {{!}}↵{{{[^\|}\n]+\|?}}}↵}}↵\|-" to " {{Infobox|entry|title=$4|content=$1|bg=$2|linebg=$3}}")
mNo edit summary
 
(9 intermediate revisions by 2 users not shown)
Line 2: Line 2:
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#B4C5E3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#B4C5E3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title=Recommended Light Level|content={{{light|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
 
{{Infobox|entry|title={{{place-title|Location}}}|content={{{place|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{game-title|Game}}}|content={{{game|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{enemies-title|Enemies}}}|content={{{enemies|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{campaign-title|Campaign}}}|content={{{campaign|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{objective-title|Objective(s)}}}|content={{{objective|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{Infobox|entry|title={{{light-title|Recommended Light level}}}|content={{{light|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{#if:{{{nowalk|}}}||
{{Infobox|entry|title={{{place-title|Location}}}|content={{{place|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{enemies-title|Enemies}}}|content={{{enemies|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxcell" style="background:{{{fieldBG|#f0f0f0}}}; border-color:{{{lineBG|#999}}}" {{!}}
{{Infobox|entry|title={{{objective-title|Objective(s)}}}|content={{{objective|}}}|bg={{{fieldBG|#F3F3F3}}}|linebg={{{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]?}}
 
}}
{{Infobox|colspan|bg={{{fieldBG|#F3F3F3}}}|linebg={{{lineBG|#999}}}|content={{#if:{{{nowalk|}}}||<nowiki/>
|-
{{#ifexist:{{FULLPAGENAME}}/Walkthrough|{{SITENAME}} has a walkthrough guide for this public event; see [[{{FULLPAGENAME}}/Walkthrough]].|{{SITENAME}} doesn't currently have a walkthrough for this public event; could you [{{FULLURL:{{FULLPAGENAME}}/Walkthrough|action=edit}} write one]?}}}}}}
| class="infoboxfooter" colspan="2" | &nbsp;
 
|}<noinclude>{{clear}}
{{Infobox|end}}<noinclude>{{clear}}
==Usage instructions==
==Usage instructions==
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:
Line 21: Line 21:
|name=
|name=
|image=
|image=
|game=
|campaign=
|light=
|light=
|place=
|place=
Line 30: Line 32:
===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
 
*<code>nowalk</code>
**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.
Line 38: Line 41:


<pre>
<pre>
|nameBG=
|imageBG=
|imageBG=
|nameBG=
|sectionBG=
|sectionBG=
|fieldBG=
|fieldBG=

Latest revision as of 07:46, July 8, 2024

Public Event infobox

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

 

Usage instructions

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

{{Public Event Infobox
|name=
|image=
|game=
|campaign=
|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.

Custom parameters

The following allows you to alter the background colors of the template:

|nameBG=
|imageBG=
|sectionBG=
|fieldBG=
|titleBG=