Template:FeatureInfobox: Difference between revisions

From Fonline2 Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(12 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 = Town Control
| name     = Feature Name
| rows =
| rows     =
{{!}}-
{{!}}-
{{!}} Type
{{!}} Type
Line 15: Line 20:
{{!}}-
{{!}}-
{{!}} Requirements
{{!}} Requirements
{{!}} Level 15, BoS membership
{{!}} 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>
{{{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
}}