Template:Tag/doc: Difference between revisions

From Campaigns
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
Line 1: Line 1:
{{Documentation subpage}}
<noinclude>{{Documentation subpage}}</noinclude>
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
{{Hatnote|For the [[Special:MyLanguage/Help:Page status indicators|page status indicator]] Phabricator tags, see: {{tl|Ptag}}.}}
__NOTOC__
__NOTOC__



Latest revision as of 05:11, 15 February 2022


Usage

Types

  • p or pair(default) display a matched pair of open-and-close tags: ‎<div>...‎</div>
  • o or open – display only the opening tag of an open-and-close pair: ‎<span>
  • c or close – display only the closing tag of an open-and-close pair: ‎</span>
  • s or single – display a single tag: ‎<br />

Examples

  • ‎<ref>...‎</ref>
  • ‎<ref>hello‎</ref>
  • ‎<span>foo‎</span>
  • ‎<span>
  • ‎<span>hello
  • hello‎</span>
  • ‎<span>hello‎</span>
  • ‎<ref group="note">
  • ‎<references />
  • ‎<br />

See also

  • (Extension Tag)