Template:XML element: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:
| 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|}}}
|-
|-
| '''Version:''' || {{{versions|{{{version|{{{ver|}}}}}}}}}
| '''Version(s):''' || {{{versions|{{{version|{{{ver|}}}}}}}}}
|- style="background-color:#F0F0FF;"
|- style="background-color:#F0F0FF;"
| '''Attributes:''' || {{{attributes|{{{attribute|{{{attr|}}}}}}}}}
| '''Attributes:''' || {{{attributes|{{{attribute|{{{attr|}}}}}}}}}

Revision as of 21:45, 20 August 2015


Code

Attribute

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

Element

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

Example

As an example, the following:

{{XML entry
| type       = Element
| 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: