Template:Escape template list/doc: Difference between revisions
ArrowHead294 (talk | contribs) m →Usage |
ArrowHead294 (talk | contribs) mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 9: | Line 9: | ||
These templates are used to escape special character sequences, so that they are interpreted later than they would otherwise be. They are most useful when trying to include tables within other tables or templates. | These templates are used to escape special character sequences, so that they are interpreted later than they would otherwise be. They are most useful when trying to include tables within other tables or templates. | ||
The following example shows an instance of including a Wikitable within another Wikitable. This markup: | |||
<pre<includeonly/>> | <pre<includeonly />> | ||
<nowiki>{| class="wikitable" style="text-align: center;" | <nowiki>{| class="wikitable" style="text-align: center;" | ||
|+ style="font-size: 105%;" | Caption text | |+ style="font-size: 105%;" | Caption text | ||
Line 21: | Line 21: | ||
| Example 3 || Example 4 | | Example 3 || Example 4 | ||
|- | |- | ||
| colspan="2" |</nowiki> | | colspan="2" | </nowiki>{{tlx|(!|plaincode}} class{{tlx|{{=}}|plaincode}}"wikitable" style{{tlx|{{=}}|plaincode}}"text-align: center;" | ||
{{tlx|(!|plaincode}} class{{tlx|{{=}}|plaincode}}"wikitable" style{{tlx|{{=}}|plaincode}}"text-align: center;" | |||
{{tlx|!+|plaincode}} style{{tlx|{{=}}|plaincode}}"font-size: 105%;" {{tlx|!|plaincode}} Caption text | {{tlx|!+|plaincode}} style{{tlx|{{=}}|plaincode}}"font-size: 105%;" {{tlx|!|plaincode}} Caption text | ||
{{tlx|!-|plaincode}} | {{tlx|!-|plaincode}} | ||
Line 31: | Line 30: | ||
{{tlx|!|plaincode}} Example 7 {{tlx|!!|plaincode}} Example 8 | {{tlx|!|plaincode}} Example 7 {{tlx|!!|plaincode}} Example 8 | ||
{{tlx|!)|plaincode}} | {{tlx|!)|plaincode}} | ||
|} | <nowiki>|}</nowiki> | ||
</pre> | </pre> | ||
Line 45: | Line 44: | ||
| Example 3 || Example 4 | | Example 3 || Example 4 | ||
|- | |- | ||
| colspan="2" | | | colspan="2" | {{(!}} class{{=}}"wikitable" style{{=}}"text-align: center;" | ||
{{(!}} class{{=}}"wikitable" style{{=}}"text-align: center;" | |||
{{!+}} style{{=}}"font-size: 105%;" {{!}} Caption text | {{!+}} style{{=}}"font-size: 105%;" {{!}} Caption text | ||
{{!-}} | {{!-}} |