Template:XML element: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(create template)
 
(color)
Line 3: Line 3:
|-  
|-  
! width="400" style="text-align:left;" colspan="2" | {{{type|}}} <{{{name|}}}>
! width="400" style="text-align:left;" colspan="2" | {{{type|}}} <{{{name|}}}>
|-
|- 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|}}}
|-
|-
| '''Versions:''' || {{{versions|{{{version|{{{ver|}}}}}}}}}
| '''Versions:''' || {{{versions|{{{version|{{{ver|}}}}}}}}}
|-
|- style="background-color:#F0F0FF;"
| '''Attributes:''' || {{{attributes|{{{attribute|{{{attr|}}}}}}}}}
| '''Attributes:''' || {{{attributes|{{{attribute|{{{attr|}}}}}}}}}
|-
|-
| '''Children:''' || {{{children|{{{child|}}}}}}
| '''Children:''' || {{{children|{{{child|}}}}}}
|-
|- style="background-color:#F0F0FF;"
| '''Used by:''' || {{{used_by|}}}
| '''Used by:''' || {{{used_by|}}}
|-
|-

Revision as of 20:46, 20 August 2015


Code

{{XML entry
| type       = 
| name       = 
| info       = 
| versions   = 
| 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.
| versions   = 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: