Template:TitleAsk: Difference between revisions

From Elanthipedia
Jump to navigation Jump to search
mNo edit summary
(added subcategory support)
Line 5: Line 5:
! Title !! Requirements
! Title !! Requirements
|-
|-
{{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} Titles]]
{{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} Titles]] {{#if:{{{s|}}}|{{#arraymap:{{{s}}}|,|x|[[title subcategory is::{{{s}}}]]| }}}}
|?Title requirement
|?Title requirement
|format=template
|format=template
Line 13: Line 13:
|limit={{{2}}}
|limit={{{2}}}
|default=There appears to be a problem, please contact [[User:Caraamon|Moderator Caraamon]]
|default=There appears to be a problem, please contact [[User:Caraamon|Moderator Caraamon]]
{{#if:{{{3|}}}|{{!}}offset={{{3}}}}}
{{#if:{{{o|}}}|{{!}}offset={{{o}}}}}
}}
}}
|}</includeonly><noinclude>
|}</includeonly><noinclude>
Line 21: Line 21:
1=The title category name<br />
1=The title category name<br />
2=The number of items to be shown.<br />
2=The number of items to be shown.<br />
3=The offset from begining to display (optional)
o=The offset from begining to display (optional)
s=Any required subcategories (optional)
[[category:templates|{{PAGENAME}}]]</noinclude>
[[category:templates|{{PAGENAME}}]]</noinclude>

Revision as of 17:10, 20 October 2008

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)