Template:BlueRed/doc: Difference between revisions

Template page
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
This template is used to compare and contrast two different, arbitrary sections. The most common usage is for a “Strengths and Weaknesses” section in a character overview.
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 it collapses into a single column.
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 ==
== Usage ==
Line 39: Line 41:
| <code>red</code>
| <code>red</code>
|
|
| Contents for the red section
| Contents for the red section.
|}
|}


Line 56: Line 58:
* Red must go}}
* Red must go}}
}}
}}
== See also ==
* [[Template:BluePurple]]

Latest revision as of 09:49, 9 July 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

Good
  • Blue is good
  • Blue is great
  • Blue never do wrong
Bad
  • Red is bad
  • Red is evil
  • Red must go

See also