Difference between revisions of "Template:InfoBox"

From Epic Paths
Jump to navigation Jump to search
(Created page with "<noinclude>Creates a right-floating box with infobox styling. Is designed to be used with InfoBoxHeader and InfoBoxData templates. == Usage == {{InfoBox|Info Box}} <nowiki>...")
 
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
{{InfoBoxHeader|Data}}
{{InfoBoxHeader|Data}}
{{InfoBoxData|Trips|More than we can count}}
{{InfoBoxData|Trips|More than we can count}}
{{InfoBoxData|Traps|Green<br>
{{InfoBoxData|Traps|
Blue<br>
: Green
Red}}
: Blue
: Red}}
}}
}}


Line 18: Line 19:
<nowiki>{{</nowiki>InfoBoxHeader|Data}}<br>
<nowiki>{{</nowiki>InfoBoxHeader|Data}}<br>
<nowiki>{{</nowiki>InfoBoxData|Trips|More than we can count}}<br>
<nowiki>{{</nowiki>InfoBoxData|Trips|More than we can count}}<br>
<nowiki>{{</nowiki>InfoBoxData|Traps|Green<nowiki><br></nowiki><br>
<nowiki>{{</nowiki>InfoBoxData|Traps|<br>
Blue<nowiki><br></nowiki><br>
<nowiki>: </nowiki>Green<br>
Red}}<br>
<nowiki>: </nowiki>Blue<br>
<nowiki>: </nowiki>Red}}<br>
}}
}}


</noinclude><includeonly><div style="display:table; clear: both; float: right; width: 270px; margin: 0 0 1em 1em; background-color: #FEF5E7; border: 1.5px solid #D35400;">
</noinclude><includeonly><div class="infobox">
<div class="tt-header">{{{1}}}</div>{{{2|}}}</div></includeonly>
<div class="tt-header">{{{1}}}</div>{{{2|}}}</div></includeonly>

Latest revision as of 12:02, 27 March 2022

Creates a right-floating box with infobox styling. Is designed to be used with InfoBoxHeader and InfoBoxData templates.

Usage

Info Box

{{InfoBox|Info Box}}

Info Box
Data
Trips
More than we can count
Traps
Green
Blue
Red


{{InfoBox|Info Box|
{{InfoBoxHeader|Data}}
{{InfoBoxData|Trips|More than we can count}}
{{InfoBoxData|Traps|
: Green
: Blue
: Red}}
}}