Don't forget, you can log in with your Play.net account
Template:TitleAsk: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (test for -1 logic) |
||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" |
<includeonly>{{#ifeq:{{{2}}}|-1||{{{!}} class="wikitable" |
||
{{!}}- |
|||
|- |
|||
!colspan=2 style="background-color:powderblue;" |{{{1}}} |
!colspan=2 style="background-color:powderblue;" |{{{1}}} |
||
{{!}}- |
|||
|- |
|||
! Title !! Requirements |
! Title !! Requirements |
||
{{!}}-}} |
|||
|- |
|||
{{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} Titles]]{{#if:{{{s|}}}|{{#arraymap:{{{s}}}|,|x|[[title subcategory is::x]]| }}}} |
{{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} Titles]]{{#if:{{{s|}}}|{{#arraymap:{{{s}}}|,|x|[[title subcategory is::x]]| }}}} |
||
|?Title requirement |
|?Title requirement |
||
Line 15: | Line 15: | ||
{{#if:{{{o|}}}|{{!}}offset={{{o}}}}} |
{{#if:{{{o|}}}|{{!}}offset={{{o}}}}} |
||
}} |
}} |
||
|}</includeonly><noinclude> |
{{#ifeq:{{{2}}}|-1||{{!}}}}}</includeonly><noinclude> |
||
A template for standardizing title listings. |
A template for standardizing title listings. |
||
Revision as of 16:19, 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)