Template:Em dash: Difference between revisions

From Vigyanwiki
Template>Droll
(substitution)
m (23 revisions imported from alpha:Template:Em_dash)
 
(13 intermediate revisions by 13 users not shown)
Line 1: Line 1:
—<noinclude>{
—<noinclude>{{Documentation}}</noinclude>
{{db-g6|rationale=reason}}
{{Mbox
| demospace =
| type = style
| image = [[Image:Symbol opinion vote.svg|40px]]
| text =
  {{#if:the edit page toolbar
  | <!-- New usage (with or without date)
    -->The template {{[[Template:--|--]]}} is deprecated. Please use {{[[Template:the edit page toolbar|the edit page toolbar]]{{#if:
    |<nowiki>|</nowiki>{{{3}}}
    }}}}  instead.
  | <!-- Old usage (deprecated, being switched)
    -->The template {{[[Template:{{PAGENAME}}|{{PAGENAME}}]]}} is [[:Category:Deprecated templates|deprecated]]. Please use {{[[Template:--|--]]}} instead. <br> <small>This usage is deprecated. Please replace it with {{Tlx|Tdeprecated|{{PAGENAME}}|--}}.</small>[[Category:Deprecated use of tdeprecated]]
  }}
}}{{#ifeq:{{ARTICLESPACE}}|Template
| {{#ifeq:{{PAGENAME}}|{{BASEPAGENAME}}<!--Don't categorise /doc pages -->
  |{{#ifeq:{{PAGENAME}}|{{ucfirst:--}}<!-- only for the deprecated template itself -->
      |{{DMC|Templates deprecated|from|July 2008||Deprecated templates}}
    }}
  }}
| [[Category:Pages using deprecated templates]]
}}
{{documentation|content=
Just produces a simple em-dash. Probably a handy thing to have. Can/should be automatically substituted.
 
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
}}</noinclude>
<noinclude>
 
</noinclude>

Latest revision as of 10:34, 24 December 2022

Template documentation