Template:H:title

From PPM Wiki - City of Overland Park Projects and Procedures Manual Pages
Revision as of 06:32, 27 April 2010 by Mike Ross (talk | contribs) (Created page with ' {{#ifeq:{{{link}}}|yes |[[{{{2}}}|<span title="{{{1}}}" {{#ifeq:{{{dotted|yes}}}|no| |style="border-bottom:1px dotted" }}>{{{2}}}</span>]] |<span title="{{{1}}}" {{#ifeq:{…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


{{#ifeq:{{{link}}}|yes

|[[{{{2}}}|{{{2}}}]]
|{{{2}}}

}}

Usage

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

Examples

  • {{H:title|Hello|example}} produces

{{#ifeq:{{{link}}}|yes

|example
|example

}} .

  • {{H:title|Hello|example|link=yes}} produces

{{#ifeq:yes|yes

|example
|example

}} .

  • {{H:title|Hello|example|dotted=no}} produces

{{#ifeq:{{{link}}}|yes

|example
|example

}} .