Template:Pre
Jump to navigation
Jump to search
Template Documentation
Just <pre></pre>.
Usage
Parameters
- {{{1}}} - The text inside the box.
Examples
| Wikitext | Result |
|---|---|
{{pre|
This example defines just the message
in multiple lines.
[[Main Page|Wikilinks]] and [https://www.wikipedia.org/ external links] work in here, too.
For template calls, the pipe {{!}} and the equals sign {{=}} must be "escaped".
Template transclusions like {{source}} will be resolved.
Template transclusions like {{source{{!}}4}} will NOT be resolved!
}}
|
This example defines just the message
in multiple lines.
[[Main Page|Wikilinks]] and [https://www.wikipedia.org/ external links] work in here, too.
For template transclusions, the pipe | and the equals sign = must be "escaped".
Template transclusions like <span style="position:relative; bottom:.1em">[[File:Source icon 64x64.png|link=Source|Source|16px]]</span> will be resolved.
Template transclusions like {{source|4}} will NOT be resolved!
|
Comparison
This is the default box. This is produced by adding one space to the beginning of this line.
This is the result when using just the <pre> HTML tag with no style.