Template:Main-panel: Difference between revisions
Appearance
WikiSpooks>Robin image_width |
m Plain formatting, no semantic markup |
||
| Line 17: | Line 17: | ||
<div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;"> | <div style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;"> | ||
{{#if: {{{image|}}}|[[Image:{{{image}}}|link={{{link|}}}|alt={{{alt|}}}|right|{{image_width|65px}}]]}} | {{#if: {{{image|}}}|[[Image:{{{image}}}|link={{{link|}}}|alt={{{alt|}}}|right|{{image_width|65px}}]]}} | ||
</div>}} | </div>}} | ||
Latest revision as of 22:34, 24 September 2026
This template makes a panel for the main page.
Usage:
{{Main-panel
|ask= The SMW Query expression
|image= image for the section header
|image= image wudth, defaults to 65px
|alt= alt text for the image
|limit= how many results to show (defaults to 6)
|link= where to link the image and text
|title= section title
|searchlabel="Further Results..." label (defaults to <empty>)
|sort= property to sort on (defaults to Creation date)
}}