Difference between revisions of "Template:H:title/doc"

From FamilySearch Wiki
Jump to: navigation, search
(Add example)
(Add new options)
Line 4: Line 4:
 
<pre>{{H:title
 
<pre>{{H:title
 
  |spantitle
 
  |spantitle
  |label
+
|link
 +
  |label (optional, uses link if not specified)
 
  |link=yes/no (defaults to "no")
 
  |link=yes/no (defaults to "no")
 
  |dotted=yes/no (defaults to "yes")
 
  |dotted=yes/no (defaults to "yes")
}}</pre>  
+
|external=yes/no (defaults to "no")
 +
}}</pre>
 +
 
 
=== Examples  ===
 
=== Examples  ===
  

Revision as of 18:55, 17 March 2010

Usage

{{H:title
 |spantitle
 |link
 |label (optional, uses link if not specified)
 |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|some other display|link=yes|dotted=no}} produces some other display.
  • {{H:title|Hello|http://google.com|Google search|link=yes|dotted=no}} produces [Google search].

See also