Content deleted Content added
Copy Template:Markup/doc. See that page history for attribution. |
Adapt to three column format |
||
Line 3:
{{TOC right |limit=2}}
This template is used to present Wikitext markup
==Usage==
This:
<pre>
{{
</pre>
Produces this:
{{
In many cases, the markup for both columns are identical, but there are instances where this may need to differ
* Header markup such as {{code|1===}} will show in the page table of contents; to avoid this, use {{tlx|fake heading}} in the markup for the
* Some templates will place the page in a maintenance category, which is usually undesired. For example.
** Instead of {{tlx|citation needed}}, use {{tlx|fake citation needed}} in the
* Some templates may have error checking that places the page in a maintenance category.
** <s>{{cs1}} templates with errors: add {{para|template doc demo|true}} to the template in the second column.</s>
Line 30 ⟶ 31:
===Multiple rows===
{{Markup HTML Rendered
|<nowiki>'''Bold text'''</nowiki>|<nowiki><b>Bold text</b></nowiki>|'''Bold text'''
|<nowiki>''Italic text''</nowiki>|<nowiki><i>Italic text</i></nowiki>|''Italic text''
|<nowiki>[[Internal link]]</nowiki>|<nowiki><a href="">Internal link</a></nowiki>|[[Internal link]]
}}
|