Template:H:title/doc

From FamilySearch Wiki

(Difference between revisions)
(Add example)
(Another example)
Line 12: Line 12:
 
*<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|some other display|link=yes|dotted=no}}</nowiki> produces {{H:title|Hello|example|some other display|link=yes|dotted=no}}.
  
 
=== See also  ===
 
=== See also  ===

Revision as of 18:37, 17 March 2010

Usage

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

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|some other display|link=yes|dotted=no}} produces some other display.

See also