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>...")
 
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 23: Line 24:
}}
}}


</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>

Revision as of 12:01, 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<br>
Blue<br>
Red}}
}}