Template:BlueRed: Difference between revisions

Template page
mNo edit summary
m (Undo revision 5713 by Oldmanwang (talk))
Tag: Undo
Line 1: Line 1:
<includeonly><templatestyles src="StrengthsAndWeaknesses/style.css"/>
<includeonly><templatestyles src="StrengthsAndWeaknesses/style.css"/>
<table class="procontable" style= border-collapse: collapse; margin: 1em -1% 1em -1%; text-align: center; border-bottom: 1px solid #777; width:{{#if:{{{tablewidth|}}}|{{{tablewidth}}}|102}}%;">
<table class="procontable" style="width:{{#if:{{{tablewidth|}}}|{{{tablewidth}}}|102}}%;">
<tr>
<tr>
   <td>'''Strengths'''</td>
   <td>'''Strengths'''</td>

Revision as of 03:29, 11 February 2021

This template is used to compare and contrast two sections, one with a blue label and the other with a red one. The most common usage is for a “Strengths and Weaknesses” section in a character overview.

On larger screens the sections appear side by side, but on smaller displays the layout collapses into a single column.

Warning: If you ever write "Good punishment" for "Strengths" or "Bad punishment" for "Weaknesses", you will be shot.

Usage

{{BlueRed
|blueLabel=Good
|blue={{Dotlist|
* Blue is good
* Blue is great
* Blue never do wrong}}
|redLabel=Bad
|red={{Dotlist|
* Red is bad
* Red is evil
* Red must go}}
}}

Parameters

Parameter Default Description
blueLabel Strengths Label for the blue section.
blue Contents for the blue section.
redLabel Weaknesses Label for the red section.
red Contents for the red section.

Example

Page Template:StrengthsAndWeaknesses/style.css has no content.

Strengths Weaknesses

See also