Template:XML element: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(update)
(remove type)
Line 1: Line 1:
<includeonly>{{anchor|{{{type|}}} &lt;{{{name|}}}&gt;|{{{name|}}}}}
<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="400" 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 21: Line 21:
<pre>
<pre>
{{XML entry
{{XML entry
| type      = Attribute
| name      =  
| name      =  
| info      =  
| info      =  
Line 35: Line 34:
<pre>
<pre>
{{XML entry
{{XML entry
| type      = Element
| name      =  
| name      =  
| info      =  
| info      =  
Line 50: Line 48:
<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 61:


{{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.

Revision as of 19:10, 21 August 2015


Code

Attribute

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

Element

{{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: