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}}
 +
{{lua|Module:Automarkup}}
 
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|))}}.
 
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 ==
{{Markup|<nowiki>{{Automarkup|{{((}}As of{{!}}2015{{))}}}}</nowiki>|{{Automarkup|{{((}}As of{{!}}2015{{))}}}}}}
+
{{Markup
 +
|<nowiki>{{Automarkup
 +
|{{((}}As of{{!}}2015{{))}}
 +
}}</nowiki>
 +
|{{Automarkup
 +
|{{((}}As of{{!}}2015{{))}}
 +
}}
 +
}}
  
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |

Revision as of 17:03, 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