Template:Furniture Infobox: Difference between revisions
Template page
More actions
mNo edit summary |
setting display title as name param |
||
| Line 51: | Line 51: | ||
-->{{Namespace|main=<!-- | -->{{Namespace|main=<!-- | ||
Set page display title if name is different from page name | |||
The namespace check is necessary since the magic words need additional masking. | |||
-->{{#ifeq:{{NAMESPACE}}||<!-- | |||
-->{{#if:{{{name|}}}|<!-- | |||
-->{{DISPLAYTITLE:{{{name|}}}|noreplace}}<!-- | |||
-->{{#ifeq:{{{name|}}}|{{#titleparts:{{PAGENAME}}}}||[[Category:Pages with Custom Title]]}}<!-- | |||
-->}}<!-- | |||
-->}}<!-- | |||
-->[[Category:Furniture]]<!-- | -->[[Category:Furniture]]<!-- | ||
Sort | Sort | ||