Template:XML element: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{anchor|{{{type|}}} &lt;{{{name|}}}&gt;}}
<includeonly>{{anchor|&lt;{{{name|}}}&gt;|{{{name|}}}}}
{|class="mw-collapsible mw-collapsed" style="border:1px solid #D0E0FF;"
{|class="mw-collapsible mw-collapsed" style="border:1px solid #D0E0FF;"
|-  
|-  
! width="400" style="text-align:left;" colspan="2" | {{{type|}}} &lt;{{{name|}}}&gt;
! width="600" style="text-align:left;" colspan="2" | &lt;{{{name|}}}&gt;
|- style="background-color:#F0F0FF;"
|- style="background-color:#F0F0FF;"
| width="70" style="text-align:left;" | '''Info:''' || width="530" style="text-align:left;" | {{{info|}}}
| width="70" style="text-align:left;" | '''Info:''' || width="530" style="text-align:left;" | {{{info|}}}
Line 18: Line 18:


==Code==
==Code==
Attribute
<pre>
<pre>
{{XML entry
{{XML entry
| type      = Attribute
| name      =
| info      =
| version    =
| attributes =
| children  =
| used_by    =
| example    =
}}
</pre>
Element
<pre>
{{XML entry
| type      = Element
| name      =  
| name      =  
| info      =  
| info      =  
Line 50: Line 34:
<pre>
<pre>
{{XML entry
{{XML entry
| type      = Element
| name      = arc_att
| name      = arc_att
| info      = Used to specify what attributes should be used for the arcs of a coverage.
| info      = Used to specify what attributes should be used for the arcs of a coverage.
Line 64: Line 47:


{{XML entry
{{XML entry
| type      = Element
| name      = arc_att
| name      = arc_att
| info      = Used to specify what attributes should be used for the arcs of a coverage.
| info      = Used to specify what attributes should be used for the arcs of a coverage.
Line 74: Line 56:
}}
}}


[[Category:Templates]]
</noinclude>
</noinclude>

Latest revision as of 23:12, 5 February 2019


Code

{{XML entry
| name       = 
| info       = 
| version    = 
| attributes = 
| children   = 
| used_by    = 
| example    = 
}}

Example

As an example, the following:

{{XML entry
| name       = arc_att
| info       = Used to specify what attributes should be used for the arcs of a coverage.
| version    = 2
| attributes = none
| children   = [[SMS:Dynamic Model Interface Schema#Element <menu_item>|menu_item]], [[SMS:Dynamic Model Interface Schema#Element <snap>|snap]]
| used_by    = [[SMS:Dynamic Model Interface Schema#Element <declare_coverage>|declare_coverage]]
| example    = 
}}

produces this:

<arc_att>
Info: Used to specify what attributes should be used for the arcs of a coverage.
Version(s): 2
Attributes: none
Children: menu_item, snap
Used by: declare_coverage
Example: