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
imported>Phe
m 13 revisions from commons:Template:-
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<br clear="all" /><noinclude>What this template does (clear the browser's palate) is invisible, so here is the code it uses:
{{#ifeq:{{NAMESPACE}}|Page|<span title="{{{1|}}}{{{2|}}}" alt="{{{1|}}}{{{2|}}}">{{{1|}}}-</span>|}}<noinclude>{{documentation}}</noinclude>
 
<nowiki><br clear="all" /></nowiki>
 
----
 
{{tl|Clear}}
 
is an equivalent template.
 
[[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.