Template:BlueRed/doc: Difference between revisions

Template page
m (RogerDodger moved page Template:StrengthsAndWeaknesses/doc to Template:BlueRed/doc: rename to be more succinct and broader scope)
No edit summary
 
(3 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">
{{StrengthsAndWeaknesses
{{BlueRed
|intro= Summary of the character's playstyle in a sentence.
|blueLabel=Good
|strength=  
|blue={{Dotlist|
*bullet point list of strengths
* Blue is good
*bullet point list of strengths
* Blue is great
*bullet point list of strengths
* Blue never do wrong}}
|weakness=  
|redLabel=Bad
*bullet point list of weaknesses
|red={{Dotlist|
*bullet point list of weaknesses
* Red is bad
*bullet point list of weaknesses
* Red is evil
|tablewidth= NUMBER size. Will determine the % width of the screen that the table fills. Default: 69.
* Red must go}}
}}
}}
</syntaxhighlight>
</syntaxhighlight>


{{StrengthsAndWeaknesses
== Parameters ==
|intro= Summary of the character's playstyle in a sentence.
 
|strength=  
{| class="wikitable"
*bullet point list of strengths
! Parameter !! Default !! Description
*bullet point list of strengths
|-
*bullet point list of strengths
| <code>blueLabel</code>
|weakness=  
| <code>Strengths</code>
*bullet point list of weaknesses
| Label for the blue section.
*bullet point list of weaknesses
|-
*bullet point list of weaknesses
| <code>blue</code>
|tablewidth= 69
|
| 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

See also