Template:H:titleEdit This Page

From FamilySearch Wiki

(Difference between revisions)
(Test)
(Update option)
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 
{{#ifeq:{{{link}}}|yes
 
{{#ifeq:{{{link}}}|yes
  |[[{{{2}}}{{{!}}}<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no|
+
  |{{#ifeq:{{{external|no}}}|yes
  |style="border-bottom:1px dotted"
+
  |[{{{url|{{{2}}}}}} <span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no|
}}>{{{3|{{{2}}}}}}</span>]]
+
  |style="border-bottom:1px dotted"
 +
  }}>{{{label|{{{3|{{{url|{{{2}}}}}}}}}}}}</span>]
 +
  |[[{{{url|{{{2}}}}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no|
 +
  |style="border-bottom:1px dotted"
 +
  }}>{{{label|{{{3|{{{url|{{{2}}}}}}}}}}}}</span>]]
 +
  }}
 
  |<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no|
 
  |<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no|
 
   |style="border-bottom:1px dotted"
 
   |style="border-bottom:1px dotted"
  }}>{{{2}}}</span>
+
  }}>{{{url|{{{2}}}}}}</span>
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 20:13, 17 March 2010

{{{2}}}

[view] [edit] [history] [purge] Documentation icon Template documentation

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:13.
  • This page has been accessed 766 times.