Difference between revisions of "Template:Ask/Main"

From Wikispooks
Jump to navigation Jump to search
(fix?)
(description fix)
Line 6: Line 6:
 
|mainlabel=Example
 
|mainlabel=Example
 
|format=table
 
|format=table
|properties=Started/ON has cause/Has cause/Description ...
+
|properties=Started/ON has cause/Has cause/Description
|headers=Date/Attributed to/Perpetrator(s)/Description ...
+
|headers=Date/Attributed to/Perpetrator(s)/Description
}}</nowiki></poem></font>
+
}}</nowiki></font></poem>
 
Currently support up to 7 columns specified by |properties and |headers, as a /-separated list
 
Currently support up to 7 columns specified by |properties and |headers, as a /-separated list
 
</noinclude><includeonly>
 
</noinclude><includeonly>

Revision as of 16:27, 31 December 2013

Not to be confused with the parser function, #Ask: from Semantic MediaWiki, this template calls that one, but as a template it is more flexible in allowing a variable number of columns.
Example Usage:


{{ask
|expr= [[Constitutes::{{PAGENAME}}]] OR [[DocType::{{PAGENAME}}]] OR [[DocType::{{Uncapitalize|{{PAGENAME}}}}]]
|mainlabel=Example
|format=table
|properties=Started/ON has cause/Has cause/Description
|headers=Date/Attributed to/Perpetrator(s)/Description
}}

Currently support up to 7 columns specified by |properties and |headers, as a /-separated list