Template:Sbs

From RationalWiki
Jump to navigation Jump to search

[edit] [purge] Documentation

Creates side-by-side text with a barrier inbetween.

For comparison of 2 pieces of text:

{{sbs
|1=Text
|2=Text
}}

For comparison of up to 5 pieces of text:

{{sbs
|1=Text
|2=Text
|3=Text
|4=Text
|5=Text
}}

For comparison of titles:

{{sbs
|title=1
|1=Text
|2=Text
}}

For example: {{sbs|Stupid drivel|RationalWiki's response}} produces:

Stupid drivelRationalWiki's response

If you want to use the = sign within the text, you must explicitly assign the variables "1" and "2", which represent the first text and the second text respectively. So for example, {{sbs|1=This piece of text has an = sign in it|2=This piece of text also has an = sign in it}} comes out as:

This piece of text has an = sign in itThis piece of text also has an = sign in it