Oldmanwang (talk | contribs) mNo edit summary |
RogerDodger (talk | contribs) No edit summary |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
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 == | |||
<syntaxhighlight lang="html"> | <syntaxhighlight lang="html"> | ||
{{ | {{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}} | |||
}} | }} | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{ | == Parameters == | ||
| | |||
| | {| class="wikitable" | ||
* | ! Parameter !! Default !! Description | ||
* | |- | ||
* | | <code>blueLabel</code> | ||
| | | <code>Strengths</code> | ||
* | | Label for the blue section. | ||
* | |- | ||
* | | <code>blue</code> | ||
| | |||
| Contents for the blue section. | |||
|- | |||
| <code>redLabel | |||
| <code>Weaknesses</code> | |||
| Label for the red section. | |||
|- | |||
| <code>red</code> | |||
| | |||
| Contents for the red section. | |||
|} | |||
== Example == | |||
{{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}} | |||
}} | }} | ||
== 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