Jump to content

Template:Xpdtp

From Meta, a Wikimedia project coordination wiki

{{ {{/{{{1}}}|/{{{1}}}}}|{{/{{{2}}}|/{{{2}}}}}}} gives {{ {{ /{{{1}}}|/{{{1}}}}}|{{ /{{{2}}}|/{{{2}}}}}}} [1]

Template documentation

This expand demo template uses #titleparts, allowing 4 parameters to be entered in the form of two "page titles".

A disadvantage is that # < > [ ] | { } and newline are not allowed.

Example

[edit]

{{xpdtp|p1/t1|2x/abc}} gives

{{ {{p1|t1}}|{{2x|abc}}}} gives start-abcabc-end [2]