Template:AskList: Difference between revisions

No edit summary
Tag: 2017 source edit
No edit summary
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>This template produces a standard list for semantic queries. The style can be selected as needed.</noinclude>
<noinclude>This template produces a standard list for semantic queries. The style can be selected as needed.</noinclude>
<includeonly><templatestyles src="AskList/styles.css" />
<includeonly><templatestyles src="AskList/styles.css" />
<div class="smwpagelist {{{smwstyle|}}}" style="column-count:{{{smwcols|3}}};">{{#ask:{{{smwarg|}}} [[Modification date::+]]
<div class="smwpagelist {{{smwstyle|standard}}} col{{{smwcols|}}}">{{#ask:{{{smwarg|}}} [[Modification date::+]]
|format=plainlist
|format=ul
{{#if: {{{smwstyle|}}}|graphic|{{!}}?smwimg|}}
}}</div></includeonly>
|template=AskList/{{#if: {{{smwstyle|}}}|{{{smwstyle}}}|standard}}
}}</div><div style="display:none">{{{smwimg|}}}</div></includeonly>
<noinclude>
<noinclude>
<templatedata>
<templatedata>
Line 21: Line 19:
"smwarg": {
"smwarg": {
"label": "Query arguments",
"label": "Query arguments",
"suggested": true
},
"smwimg": {
"label": "Image",
"suggested": true
"suggested": true
}
}
Line 33: Line 27:
"smwarg",
"smwarg",
"smwcols",
"smwcols",
"smwstyle",
"smwstyle"
"smwimg"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Latest revision as of 11:14, 22 September 2022

This template produces a standard list for semantic queries. The style can be selected as needed.


SMW list

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Query argumentssmwarg

no description

Unknownsuggested
Columnssmwcols

no description

Default
3
Unknownsuggested
Stylesmwstyle

no description

Unknownsuggested