This is an archive copy of wikilivres.ca as of 18 February 2017 (from the WikiTeam dump). The original site is closed.

Template:-: Difference between revisions

Free texts and images.
Jump to navigation Jump to search
imported>Rocket000
rv - shouldn't be teaching bad habits even if MediaWiki fixes it
imported>Phe
m 13 revisions from commons:Template:-
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<div style="clear:both"></div><noinclude>
{{#ifeq:{{NAMESPACE}}|Page|<span title="{{{1|}}}{{{2|}}}" alt="{{{1|}}}{{{2|}}}">{{{1|}}}-</span>|}}<noinclude>{{documentation}}</noinclude>
{{documentation}}
 
[[Category:Typing-aid templates|{{PAGENAME}}]]
[[Category:Formatting templates|{{PAGENAME}}]]
</noinclude>

Latest revision as of 22:45, 13 November 2011

Documentation


(English) 

{{-}} and {{--}} are used to record a word that is hyphenated between two pages.

In the "page" namespace:

  • The template {{-}} is used in the first page and displays param 1 (1st word-fragment) followed by a hyphen (-)
  • The template {{--}} is used in the second page and displays param 2 (2d word-fragment)

In the "main" namespace, the whole word is transcluded.