As an anonymous user, you can only add new data. If you would like to also modify existing data, please create an account and indicate your languages on your user page.


From OmegaWiki
Jump to: navigation, search


[edit] [history] [:Template:purge] Documentation icon Template documentation


This template provides a quick way to mention an XML-style tag in a preformatted way. Mainly used in discussion/help pages.


  • first parameter(mandatory) the name of the HTML tag
  • second parameter — what type of tag to display:
    • p or pair(default) display a matched pair of open-and-close tags: Template:tag
      • To suppress the ellipsis which appears between the tags, add an empty Template:para parameter
    • o or open – display only the opening tag of an open-and-close pair: Template:tag
    • c or close – display only the closing tag of an open-and-close pair: Template:tag
    • s or single – display a single tag: Template:tag
  • content= — the text content of the tags
  • params= — any parameters to be included in the opening tag


See also[edit]

  • {{xtag}} adds a MediaWiki parser or extension tag that links to the extension page.
  • The #tag: parserfunction generates working tags.