Template:Public Event infobox: Difference between revisions

From Destinypedia, the Destiny wiki

m (Text replacement - "margin:0 0 1em 1em; padding:2px; " to "")
m (Text replacement - "|colspan|align=left|" to "|colspan|")
 
(56 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" cellspacing="0" cellpadding="0" border="0" style="float:right; clear:right; width:260px; background:{{{BG|#471d03}}}; border-radius:0 0 .7em .7em; color:{{{color1|#000}}};"
{{Infobox|start|width=260px|color={{{color1|#000}}}|bg={{{BG|#471d03}}}}}
{{!}}-
{{Infobox|title|name={{{name|}}}|color={{{color2|#fff}}}|bg={{{nameBG|transparent}}}}}
! style="background:{{{nameBG|transparent}}}; color:{{{color2|#FFFFFF}}}; text-align:center; font-size:120%;" colspan="2" | {{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}
{{Infobox|media|content={{{image|}}}|caption={{{caption|}}}|bg={{{imageBG|#B4C5E3}}}|linebg={{{lineBG|#999}}}}}
{{!}}-
 
{{#if:{{{image|}}}|
{{Infobox|entry|title={{{light-title|Recommended Light level}}}|content={{{light|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
! class="infoboxcell" style="background:{{{imageBG|#B4C5E3}}}; text-align:center; border-bottom:1px solid {{{lineBG|#999999}}};" colspan="2" {{!}} {{{image|}}}
{{Infobox|entry|title={{{place-title|Location}}}|content={{{place|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}}-}}
{{Infobox|entry|title={{{enemies-title|Enemies}}}|content={{{enemies|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{#if:{{{light|}}}|
{{Infobox|entry|title={{{objective-title|Objective(s)}}}|content={{{objective|}}}|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}}}
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
 
'''Recommended Light Level''':
{{Infobox|colspan|bg={{{fieldBG|#f0f0f0}}}|linebg={{{lineBG|#999}}}|content={{#if:{{{nowalk|}}}||<nowiki/>
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{#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]?}}}}}}
{{{light|}}}
 
{{!}}-}}
{{Infobox|end}}<noinclude>{{clear}}
{{#if:{{{place|}}}|
==Usage instructions==
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{place-title|Location}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{place|}}}
{{!}}-}}
{{#if:{{{enemies|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{enemies-title|Enemies}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{enemies|}}}
{{!}}-}}
{{#if:{{{objective|}}}|
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
'''{{{objective-title|Objective(s)}}}''':
{{!}} class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{{objective|}}}
{{!}}-}}
{{#if:{{{nowalk|}}}||
{{!}} class="infoboxcell" class="infoboxcell" style="vertical-align:top; background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}
{{!}} class="infoboxcell" class="infoboxcell" style="background:{{{fieldBG|#F0F0F0}}}; border-bottom:1px solid {{{lineBG|#999999}}}; font-size:90%; padding: 0 0 0 2px; line-height:14px;" {{!}}{{#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]?}}
{{!}}-}}
| colspan="2" style="text-align:center; background:{{{BG|transparent}}}; padding:0px; font-size:10px; line-height:10px;" |&nbsp;
|}<noinclude>{{clear}}
==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 46: Line 23:
|enemies=
|enemies=
|objective=
|objective=
}}</pre>
}}
</pre>


===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.
==Custom parameters==
The following allows you to alter the background colors of the template:


<pre>
<pre>

Latest revision as of 19:03, June 1, 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=
|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:

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