Template:Color box index: Difference between revisions

From dfe-wiki
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly>
<includeonly><span class="legend nowrap" style="page-break-inside:avoid;break-inside:avoid-column"><span class="legend-color" style="display:inline-block;min-width:1.25em;height:1.25em;line-height:1.25;margin:1px 0;border:1px solid black;background-color:{{{color|grey}}}"> </span> {{{text}}}</span></includeonly><noinclude>
<span class="legend nowrap" style="page-break-inside:avoid;break-inside:avoid-column"><span class="legend-color" style="display:inline-block;min-width:1.25em;height:1.25em;line-height:1.25;margin:1px 0;border:1px solid black;background-color:{{{color|grey}}}"> </span> {{{text}}}</span>
</includeonly><noinclude>
== Usage ==
== Usage ==
<pre>
<pre>

Latest revision as of 22:48, 1 November 2024

Usage[edit source]

{{Color box index|text=Text}}
OR
{{Color box index|text=Text|color=Color}}

Examples[edit source]

{{Color box index|text=Text}}

  Text

{{Color box index|text=Text but green|color=green}}

  Text but green