Difference between revisions of "Template:List Submenus/query template"
From Salem Wiki
m (removing newline) |
m (removing newline) |
||
Line 1: | Line 1: | ||
− | [[Image:Menu Button {{#titleparts: {{{1|GameMenu/Build}}} ||-1 }}.png]] [[{{{1|GameMenu/Build}}} | {{#titleparts: {{{1|GameMenu/Build}}} ||-1 }}]]. | + | [[Image:Menu Button {{#titleparts: {{{1|GameMenu/Build}}} ||-1 }}.png]] [[{{{1|GameMenu/Build}}} | {{#titleparts: {{{1|GameMenu/Build}}} ||-1 }}]].<noinclude>{{documentation}}</noinclude> |
− | <noinclude>{{documentation}}</noinclude> |
Revision as of 16:06, 15 June 2012
Template documentation (for the template shown above, sometimes hidden or invisible)
Description
- This template is used to format the output-results of the SMW-Query used in {{List Submenus}}.
- It uses {{HasProp|Has icon}}, on the page of the entry to be displayed, and use that as icon-image to display.
- If it can't find that property or the set image doesn't exist it will use and link this image, so ppl can click it, to "Menu Button " followed by the last part of the entry-name followed by ".png".
- fe. when an entry should be displayed for "GameMenu/subpage", then this link would point to "Image:Menu Button subpage.png".
- See Inline queries to see how an inline query can use this to format the display of query results.
Visit Template:List Submenus/query template/doc to edit this text! (How does this work?)