Template:FeatureInfobox: Difference between revisions

From Fonline2 Wiki
Jump to navigation Jump to search
Created page with "<noinclude> This is the {{PAGENAME}} template. Used to display feature/article metadata in a standardized infobox. Usage: {{FeatureInfobox | name = Feature Name | type = Quest / Event / System / Mechanic | location = New Reno | requirements = Level 15, BoS membership }} </noinclude> <includeonly> <table class="wikitable" style="float:right; margin:0 0 1em 1em; width:320px"> <tr> <th colspan="2" style="background-color:#3d6f4a; color:white; text-align:cente..."
 
No edit summary
 
(14 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
{| class="wikitable infobox" style="float:right; margin-left:10px; width:300px;"
! colspan="2" style="text-align:center;" {{!}} {{{name|{{PAGENAME}}}}}
|-
{{{rows}}}
|}
</includeonly>
<noinclude>
<noinclude>
This is the {{PAGENAME}} template.
== Usage ==
Used to display feature/article metadata in a standardized infobox.
<pre>
 
Usage:
{{FeatureInfobox
{{FeatureInfobox
| name       = Feature Name
| name     = Feature Name
| type      = Quest / Event / System / Mechanic
| rows      =
| location  = New Reno
{{!}}-
| requirements = Level 15, BoS membership
{{!}} Type
{{!}} Event
{{!}}-
{{!}} Location
{{!}} New Reno
{{!}}-
{{!}} Requirements
{{!}} Level 15
{{!}}-
{{!}} Rewards
{{!}} Caps, XP
}}
}}
</pre>
[[Category:Infobox templates]]
</noinclude>
</noinclude>
<includeonly>
<table class="wikitable" style="float:right; margin:0 0 1em 1em; width:320px">
<tr>
<th colspan="2" style="background-color:#3d6f4a; color:white; text-align:center">{{{name|{{PAGENAME}}}}}</th>
</tr>
{{#if:{{{type|}}}|<tr><th>Type</th><td>{{{type}}}</td></tr>}}
{{#if:{{{location|}}}|<tr><th>Location</th><td>{{{location}}}</td></tr>}}
{{#if:{{{requirements|}}}|<tr><th>Requirements</th><td>{{{requirements}}}</td></tr>}}
{{#if:{{{rewards|}}}|<tr><th>Rewards</th><td>{{{rewards}}}</td></tr>}}
{{{rows|}}}
</table>
</includeonly>

Latest revision as of 11:03, 3 June 2026


Usage

{{FeatureInfobox
| name      = Feature Name
| rows      =
{{!}}-
{{!}} Type
{{!}} Event
{{!}}-
{{!}} Location
{{!}} New Reno
{{!}}-
{{!}} Requirements
{{!}} Level 15
{{!}}-
{{!}} Rewards
{{!}} Caps, XP
}}