Template:Raw: Difference between revisions

From railML 3 Wiki
Jump to navigation Jump to search
[unchecked revision][unchecked revision]
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{raw:wiki2:{{{1}}}|{{{2|}}}}}</includeonly><noinclude>
<includeonly>{{raw:wiki2:{{{1}}}{{!}}{{{2|}}}}}</includeonly><noinclude>
==Usage==
==Usage==
This template is intendet to handle transclusions analogously ''within transclusions'' both in the [[wiki2:|{{rml}}2 Wiki]] and here in the {{rml}}3 wiki.
This template is intended to handle transclusions analogously ''within transclusions'' both in the [[wiki2:|{{rml}}2 Wiki]] and here in the {{rml}}3 wiki.
===Arguments===
===Arguments===
This template has two unnamed arguments:
This template has two unnamed arguments:
*1: obligatory template name
*1: obligatory template name
*2: opotional list of arguments; seperate them with ''!'' in place of <nowiki>|</nowiki>!
*2: opotional list of arguments; seperate them with ''!'' in place of <nowiki>|</nowiki>!
==Example==
==Example==
<pre>{{raw|note|some note}}</pre>
<pre>{{raw|note|some note}}</pre>
Line 11: Line 12:


{{raw|note|some note}}
{{raw|note|some note}}
<pre>{{raw|note|some problem{{!}}error}}</pre>
delivers
{{raw|note{{!}}some problem{{!}}error}}


{{raw|rml}}
{{raw|rml}}

Latest revision as of 18:58, 21 February 2022

Usage

This template is intended to handle transclusions analogously within transclusions both in the railML®2 Wiki and here in the railML®3 wiki.

Arguments

This template has two unnamed arguments:

  • 1: obligatory template name
  • 2: opotional list of arguments; seperate them with ! in place of |!

Example

{{raw|note|some note}}

delivers

{{raw:wiki2:note|some note}}

{{raw|note|some problem{{!}}error}}

delivers

{{raw:wiki2:note|some problem|error|}}

{{raw:wiki2:rml|}}

railML®