Template:H:title/docEdit This Page

From FamilySearch Wiki

< Template:H:title(Difference between revisions)
(Add example)
(Test)
 
(8 intermediate revisions by one user not shown)
Line 4: Line 4:
 
<pre>{{H:title
 
<pre>{{H:title
 
  |spantitle
 
  |spantitle
  |label
+
|url (or url=link)
 +
  |label (or label=text (defaults to link text))
 
  |link=yes/no (defaults to "no")
 
  |link=yes/no (defaults to "no")
 
  |dotted=yes/no (defaults to "yes")
 
  |dotted=yes/no (defaults to "yes")
 +
|external=yes/no (defaults to "no")
 
}}</pre>  
 
}}</pre>  
 
=== Examples  ===
 
=== Examples  ===
Line 12: Line 14:
 
*<nowiki>{{H:title|Hello|example}}</nowiki> produces {{H:title|Hello|example}}.  
 
*<nowiki>{{H:title|Hello|example}}</nowiki> produces {{H:title|Hello|example}}.  
 
*<nowiki>{{H:title|Hello|example|link=yes}}</nowiki> produces {{H:title|Hello|example|link=yes}}.  
 
*<nowiki>{{H:title|Hello|example|link=yes}}</nowiki> produces {{H:title|Hello|example|link=yes}}.  
*<nowiki>{{H:title|Hello|example|dotted=no}}</nowiki> produces {{H:title|Hello|example|dotted=no}}.
+
*<nowiki>{{H:title|Hello|example|dotted=no}}</nowiki> produces {{H:title|Hello|example|dotted=no}}.  
*<nowiki>{{H:title|Hello|example|link=yes|dotted=no}}</nowiki> produces {{H:title|Hello|example|link=yes|dotted=no}}.
+
*<nowiki>{{H:title|Hello|example|link=yes|dotted=no}}</nowiki> produces {{H:title|Hello|example|link=yes|dotted=no}}.
 +
*<nowiki>{{H:title|Hello|example|label=some other display|link=yes|dotted=no}}</nowiki> produces {{H:title|Hello|example|label=some other display|link=yes|dotted=no}}.
 +
*<nowiki>{{H:title|Hello|http://google.com|label=Google search|link=yes|dotted=no|external=yes}}</nowiki> produces {{H:title|Hello|http://google.com|label=Google search|link=yes|dotted=no|external=yes}}.
  
 
=== See also  ===
 
=== See also  ===

Latest revision as of 20:14, 17 March 2010

Usage

{{H:title
 |spantitle
 |url (or url=link)
 |label (or label=text (defaults to link text))
 |link=yes/no (defaults to "no")
 |dotted=yes/no (defaults to "yes")
 |external=yes/no (defaults to "no")
}}

Examples

  • {{H:title|Hello|example}} produces example.
  • {{H:title|Hello|example|link=yes}} produces example.
  • {{H:title|Hello|example|dotted=no}} produces example.
  • {{H:title|Hello|example|link=yes|dotted=no}} produces example.
  • {{H:title|Hello|example|label=some other display|link=yes|dotted=no}} produces some other display.
  • {{H:title|Hello|http://google.com|label=Google search|link=yes|dotted=no|external=yes}} produces Google search.

See also

  • This page was last modified on 17 March 2010, at 20:14.
  • This page has been accessed 180 times.