Template:AskList and Template:AskList/styles.css: Difference between pages

(Difference between pages)
No edit summary
Tag: 2017 source edit
 
m ((username removed) (log details removed))
 
Line 1: Line 1:
<noinclude>This template produces a standard list for semantic queries. The style can be selected as needed.</noinclude>
h2 {border-bottom:none; font-size:1.5rem}
<includeonly>
h3 {border-bottom:none; font-size:1.2rem}
{{#if: {{{style|}}}|
.smwpagelist .ul-format {column-count:3;}
<div class="smwpagelist {{{smwcols|}}} {{{smwstyle|}}}">{{#ask:{{{smwarg|}}} [[Modification date::+]]
 
|format=plainlist
.smwpagelist li {margin:0 4px;}
|template={{{style|standard}}}
.smwpagelist li a {
}}</div><div style="display:none">{{{img|}}}{{{style|}}}</div></includeonly>
    width: 98%;
<noinclude>
    padding: 8px 4%;
<templatedata>
    background: #eff2f5;
{
    color: #33445C !important;
"params": {
    border-radius: 5px;
"smwcols": {
    border: 0 !important;
"label": "Columns",
    display: block;
"default": "3",
    text-decoration: none;
"suggested": true
}
},
.smwpagelist ul {
"smwstyle": {
    list-style: none;
"label": "Style",
"suggested": true
},
"smwarg": {
"label": "Query arguments",
"suggested": true
},
"img": {
"label": "Image",
"suggested": true
}
},
"description": "SMW list",
"format": "inline",
"paramOrder": [
"smwarg",
"smwcols",
"smwstyle",
"img"
]
}
}
</templatedata>
</noinclude>

Revision as of 09:36, 22 September 2022

h2 {border-bottom:none; font-size:1.5rem}
h3 {border-bottom:none; font-size:1.2rem}
.smwpagelist .ul-format {column-count:3;}

.smwpagelist li {margin:0 4px;}
.smwpagelist li a {
    width: 98%;
    padding: 8px 4%;
    background: #eff2f5;
    color: #33445C !important;
    border-radius: 5px;
    border: 0 !important;
    display: block;
    text-decoration: none;
}
.smwpagelist ul {
    list-style: none;
}
No categories assignedEdit

Discussions