Template:FeatureInfobox: Difference between revisions

From Fonline2 Wiki
Jump to navigation Jump to search
No edit summary
Tag: Reverted
No edit summary
 
(11 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 ==
It is used to display item information in a standardized infobox format.
<pre>
 
{{FeatureInfobox
Usage:
| name     = Feature Name
{{FeatureInfoBox
| rows     =
|name=Item Name
{{!}}-
|rows=
{{!}} Type
|-
{{!}} Event
| colspan="2" style="text-align:center" | [[File:brain4.png|260px]]
{{!}}-
|-
{{!}} Location
! Type
{{!}} New Reno
| SmallGun
{{!}}-
|-
{{!}} Requirements
! Cost
{{!}} Level 15
| 140 caps
{{!}}-
|modes=
{{!}} Rewards
<tr><th colspan="2">Firing Modes</th></tr>
{{!}} Caps, XP
<tr><td colspan="2">...</td></tr>
}}
}}
</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>
{{{name|}}}
{{{type|}}}
{{{location|}}}
</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
}}