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.

Template:Tag

From OmegaWiki
Jump to: navigation, search

<tag>...</tag>

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

Template:Interwikitmp-grp

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

Usage[edit]

  • 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

Examples[edit]

See also[edit]

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