Template:BlueOrange/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 three sections, two with a blue label and the center one with a purple label. The most common usage is for a quick list of a character's tracking moves.
This template is used to compare and contrast three sections, two with a blue label and the center one with a orange label. The most common usage is for a quick list of a character's tracking moves.


On larger screens the sections appear side by side, but on smaller displays the layout collapses as needed.
On larger screens the sections appear side by side, but on smaller displays the layout collapses as needed.
Line 6: Line 6:


<syntaxhighlight lang="html">
<syntaxhighlight lang="html">
{{BluePurple
{{BlueOrange
|leftLabel=Left
|leftLabel=Left
|left={{Dotlist|
|left={{Dotlist|
Line 12: Line 12:
* Left is great
* Left is great
* Left never do wrong}}
* Left never do wrong}}
|purpleLabel=Center
|orangeLabel=Center
|purple={{Dotlist|
|orange={{Dotlist|
* Purple is perfect
* Orange is perfect
* Purple is divine
* Orange is divine
* Purple is above all}}
* Orange is above all}}
|rightLabel=Right
|rightLabel=Right
|right={{Dotlist|
|right={{Dotlist|
Line 38: Line 38:
| Contents for the left blue section.
| Contents for the left blue section.
|-
|-
| <code>purpleLabel</code>
| <code>orangeLabel</code>
| <code>Tracks both</code>
| <code>Tracks both</code>
| Label for the purple section.
| Label for the orange section.
|-
|-
| <code>purple</code>
| <code>orange</code>
|
|
| Contents for the purple section.
| Contents for the orange section.
|-
|-
| <code>rightLabel
| <code>rightLabel
Line 57: Line 57:
== Example ==
== Example ==


{{BluePurple
{{BlueOrange
|leftLabel=Left
|leftLabel=Left
|left={{Dotlist|
|left={{Dotlist|
Line 63: Line 63:
* Left is great
* Left is great
* Left never do wrong}}
* Left never do wrong}}
|purpleLabel=Center
|orangeLabel=Center
|purple={{Dotlist|
|orange={{Dotlist|
* Purple is perfect
* Orange is perfect
* Purple is divine
* Orange is divine
* Purple is above all}}
* Orange is above all}}
|rightLabel=Right
|rightLabel=Right
|right={{Dotlist|
|right={{Dotlist|
Line 75: Line 75:
}}
}}


{{BluePurple
{{BlueOrange
|left={{Dotlist|
|left={{Dotlist|
* d/f+1
* df+1
* 3
* 3
* f+2}}
* f+2}}
|purple={{Dotlist|
|orange={{Dotlist|
* 1+2
* 1+2
* b+4,3}}
* b+4,3}}
|right={{Dotlist|
|right={{Dotlist|
* d/f+4
* df+4
* f,F+4}}
* f,F+4}}
}}
}}

Latest revision as of 05:17, 28 February 2024

This template is used to compare and contrast three sections, two with a blue label and the center one with a orange label. The most common usage is for a quick list of a character's tracking moves.

On larger screens the sections appear side by side, but on smaller displays the layout collapses as needed.

Usage

{{BlueOrange
|leftLabel=Left
|left={{Dotlist|
* Left is good
* Left is great
* Left never do wrong}}
|orangeLabel=Center
|orange={{Dotlist|
* Orange is perfect
* Orange is divine
* Orange is above all}}
|rightLabel=Right
|right={{Dotlist|
* Right is bad
* Right is evil
* Right must go}}
}}

Parameters

Parameter Default Description
leftLabel Tracks left Label for the left blue section.
left Contents for the left blue section.
orangeLabel Tracks both Label for the orange section.
orange Contents for the orange section.
rightLabel Tracks right Label for the right blue section.
right Contents for the right blue section.

Example

Left
  • Left is good
  • Left is great
  • Left never do wrong
Center
  • Orange is perfect
  • Orange is divine
  • Orange is above all
Right
  • Right is bad
  • Right is evil
  • Right must go
Tracks left
  • df+1
  • 3
  • f+2
Tracks both
  • 1+2
  • b+4,3
Tracks right
  • df+4
  • f,F+4

See also