Template:Main-panel2: Difference between revisions
Appearance
WikiSpooks>Robin m Text replacement - "WikiSpooks" to "Wikispooks" |
m Plain formatting, no semantic markup |
||
| Line 21: | Line 21: | ||
!style="width:40%; border-bottom:1px solid #9a9a9a; border-top:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0em 0.5em 0em; font-size:112%;text-align:center;" | {{#if: {{{title2|}}}|{{{title2|}}}|Recently Changed}} | !style="width:40%; border-bottom:1px solid #9a9a9a; border-top:1px solid #9a9a9a; background-color:#d0e5f5; padding:0.5em 0em 0.5em 0em; font-size:112%;text-align:center;" | {{#if: {{{title2|}}}|{{{title2|}}}|Recently Changed}} | ||
|- | |- | ||
|colspan="2" style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;"| | |colspan="2" style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;"| | ||
|colspan="2" style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;"| | |colspan="2" style="padding:0.5em 0.5em 0.5em 0.5em;font-size:102%;"| | ||
|} | |} | ||
Latest revision as of 22:34, 24 September 2026
This template was used for the front page in 2014.
It makes a double panel for the main page.
Usage:
{{Main-panel2
|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 6)
|link= where to link the image and text
|title1= section left title (defaults to "Newly Created")
|title2= section right title (defaults to "Recently Changed")
|searchlabel="Further Results..." label (defaults to <empty>)
|sort1= property to sort the left panel on (defaults to Creation date)
|sort2= property to sort the right panel on (defaults to Modification date)
}}