Template:XML element: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
m (Jmonson moved page Template:XML entry to Template:XML element: only used for elements)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
{|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" | <{{{name|}}}>
! width="600" style="text-align:left;" colspan="2" | <{{{name|}}}>
|- 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 56: 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: