|
Log in / create account · | |||||||||
Help:Ignoring FormattingFrom Travian v2 Wiki (S2-S6), the encyclopedia anybody can edit[edit] Using <nowiki> TagsWiki formatting can be ignored by using the Here is an example of a normal wiki table that has simply been surrounded by the {| border="1" |- |bgcolor="#cccccc"|Look at me! I'm a naked table! |} (Note: normally, any excerpt of code should really be surrounded with the
<nowiki>
{| border="1"
|-
|bgcolor="#cccccc"| Look at me! I'm a naked table!
|}
</nowiki>
Without the
[edit] Using <pre> TagsNote that even surrounded by Using the For example, the following code in the edit window:
<pre>
You smash at the barricade. It creaks.
... and again.
... and again.
... and again.
... and again.
You are out of IP hits.
</pre>
comes out as:
You smash at the barricade. It creaks.
... and again.
... and again.
... and again.
... and again.
You are out of IP hits.
Markup symbols and links contained inside the
'''Markup symbols''' and [[Main Page|links]] <u>contained</u>
inside a pre-formatted box using the <pre> tags
are <br /> ... completely ignored.
[edit] Using Leading SpaceIn order to preserve line breaks and whitespace while still using wiki markup, put a space in front of each line of the block of text. Any series of one or more lines that each begin with a space will be placed inside a blue-dashed box. The layout and whitespace seen in the editing window will be preserved, while all the wiki markup (such as bold, italics, signatures, and links) will be interpreted normally. For example, the following code in the edit window:
This line doesn't have leading space. Whitespace is ignored.
This line does have leading space. Whitespace is preserved.
The following lines ''(including the next one)'' begin with a space.
Text can be '''''formatted''''' and you
can have [[Main Page|links]]. (Last changed: ~~~~~)
will produce: This line doesn't have leading space. Whitespace is ignored. This line does have leading space. Whitespace is preserved.
The following lines (including the next one) begin with a space.
Text can be formatted and you
can have links. (Last changed: 19:11, 14 April 2006 (BST))
|
||||||||||
|
||||||||||