Template:H:title

From PPM Wiki - City of Overland Park Projects and Procedures Manual Pages
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

}} .