Template:DT Article XML (Intro)

From FollowTheScore
Jump to: navigation, search

Here you define the mapping of your form fields to an XML representation for export.

  • Replace Type? by the name of your Type.
  • Replace Namespace? by the namespace of your Type pages.
  • You define the XML tag structure and use wiki parameter references to fill in the values.
  • You can use any wiki function to format the variable contents. This may be useful to transform headings, enumerations etc.
  • You may want to use a function called #stripmarkup to get rid of wiki markup.
  • Text fields are formatted by calling {{DT XML Field Text|{{{contents}}}}}