Difference between revisions of "Template:Automarkup/doc"

From blackwiki
Jump to navigation Jump to search
imported>Petr Matas
imported>Petr Matas
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
The same as {{tl|Markup}}, except that it is not necessary to write the code examples twice.
+
The same as {{tl|Markup}}, except that it is not necessary to write the code examples twice. On the other hand, it is not possible to use the <code>&lt;nowiki&gt;</code> tag for markup disabling; other means have to be used to achieve that, like templates {{tl|((}}, {{tl|!}}, {{tl|))}}.
 +
 
 
== Usage ==
 
== Usage ==
{{Automarkup|{{((}}Show pet{{))}}}}
+
{{Markup|<nowiki>{{Automarkup|{{((}}As of{{!}}2015{{))}}}}</nowiki>|{{Automarkup|{{((}}As of{{!}}2015{{))}}}}}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 16:55, 14 December 2015

The same as {{Markup}}, except that it is not necessary to write the code examples twice. On the other hand, it is not possible to use the <nowiki> tag for markup disabling; other means have to be used to achieve that, like templates {{((}}, {{!}}, {{))}}.

Usage

Markup Renders as
{{Automarkup|{{((}}As of{{!}}2015{{))}}}}

Markup Renders as
{{As of|2015}}

As of 2015