Template:Main-panel-with-icon: Difference between revisions
Appearance
WikiSpooks>Robin Has fullPageName is superior to Has fullPageNamee for |link |
m Plain formatting, no semantic markup |
||
| Line 16: | Line 16: | ||
!colspan="5" style="font-size:125%; text-align:center; border:1px solid #9a9a9a; padding:0em; background-color:#d0e5f5; padding:0.25em;"|{{#if: {{{link|}}}|[[{{{link}}}|{{{title|}}}]]|{{{title|}}}}}{{#if: {{{image|}}}|[[Image:{{{image}}}|link={{{link|}}}|alt={{{alt|}}}|right|50px]]}} | !colspan="5" style="font-size:125%; text-align:center; border:1px solid #9a9a9a; padding:0em; background-color:#d0e5f5; padding:0.25em;"|{{#if: {{{link|}}}|[[{{{link}}}|{{{title|}}}]]|{{{title|}}}}}{{#if: {{{image|}}}|[[Image:{{{image}}}|link={{{link|}}}|alt={{{alt|}}}|right|50px]]}} | ||
|- | |- | ||
|} | |} | ||
Latest revision as of 22:34, 24 September 2026
This template makes a panel for the main page.
For a tabstripped version, see Template:Main-panel-tabstrip-with-icon.
Usage:
{{Main-panel-with-icon
|ask= The SMW Query expression
|image= image for the section header
|alt= alt text for the image
|limit= how many results to show (defaults to 28)
|link= where to link the title image and text
|title= section title
|sort= property to sort on (defaults to Creation date)
}}