Template:TitleAsk: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
m (fix/use correct default stuff)
(Make "...more titles" actually appear!)
Line 17: Line 17:
|searchlabel=
|searchlabel=
}}
}}
{{#ifeq:{{{2}}}|-1||{{#ifexpr: {{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} Titles]]{{#if:{{{s|}}}|{{#arraymap:{{{s}}}|,|x|[[title subcategory is::x]]| }}}}
{{#ifeq:{{{2}}}|-1||{{!}}} }}</includeonly><noinclude>
|?Title requirement
|format=count
|mainlabel=Title
|limit=5
}} > {{{2}}} | {{!}}- class="smwfooter"
{{!}} colspan=2 class="sortbottom" {{!}}{{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} Titles]]{{#if:{{{s|}}}|{{#arraymap:{{{s}}}|,|x|[[title subcategory is::x]]| }}}}
|?Title requirement
|mainlabel=Title
|searchlabel=... more titles
|limit=0
}}}}{{!}}} }}</includeonly><noinclude>
A template for standardizing title listings.
A template for standardizing title listings.



Revision as of 11:28, 9 January 2009

A template for standardizing title listings.

Usage Documentation

1=The title category name
2=The number of items to be shown.
o=The offset from begining to display (optional)
s=Any required subcategories (optional)