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 |
SPICYDIAPSID (talk | contribs) m (Undo revision 579373. Reverting because searchlabel results does not like the titledisplay template.) |
||
(34 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="wikitable" |
<includeonly>{{#ifeq:{{{2}}}|-1||{{{!}} class="wikitable sortable" |
||
{{!}}- |
|||
|- |
|||
!colspan= |
!colspan=2 style="background-color:powderblue;" {{!}}{{#if:{{{header|}}}|{{{header}}}|{{{1}}}}} |
||
{{!}}- |
|||
|- |
|||
! Title |
! Title !! Requirements |
||
{{!}}-}} |
|||
|- |
|||
{{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} |
{{#ask: [[Title:+]] [[page type is::title]] [[title category is::Category:{{{1}}} titles]]{{#if:{{{s|}}}|{{#arraymap:{{{s}}}|,|@@@@|[[title subcategory is::@@@@]]| }}}} |
||
⚫ | |||
|?Title requirement |
|?Title requirement |
||
|format=template |
|format=template |
||
|template=Template:TitleDisplay |
|template=Template:TitleDisplay |
||
|sort=Title difficulty is, |
|sort=Title difficulty is, |
||
|link=none |
|||
|mainlabel=Title |
|mainlabel=Title |
||
|limit={{{2}}} |
{{#if:{{{2|}}}|{{!}}limit={{{2}}}|}} |
||
{{!}}default=There appears to be a problem, please contact [[User:Caraamon|Moderator Caraamon]] |
|||
{{#if:{{{o|}}}|{{!}}offset={{{o}}}}} |
|||
|searchlabel= |
|||
}} |
}} |
||
{{#ifeq:{{{2}}}|-1||{{#ifexpr: {{#ask: [[page type is::title]] [[title category is::Category:{{{1}}} titles]]{{#if:{{{s|}}}|{{#arraymap:{{{s}}}|,|@@@@|[[title subcategory is::@@@@]]| }}}} |
|||
⚫ | |||
|?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}}}|,|@@@@|[[title subcategory is::@@@@]]| }}}} |
|||
|?Title requirement |
|||
|mainlabel=Title |
|||
⚫ | |||
|searchlabel=... more titles |
|||
|limit=0 |
|||
}}}} |
|||
⚫ | |||
A template for standardizing title listings. |
A template for standardizing title listings. |
||
==Usage Documentation== |
==Usage Documentation== |
||
1=The title category name<br /> |
1=The title category name<br /> |
||
2=The number of items to be shown. |
2=The number of items to be shown.<br /> |
||
o=The offset from begining to display (optional)<br /> |
|||
[[category:templates|{{PAGENAME}}]]</noinclude> |
|||
s=Any required subcategories (optional)<br /> |
|||
h=Header to use instead of category name (optional) |
|||
{{cat|templates,Search Templates}}</noinclude> |
Latest revision as of 18:52, 9 January 2022
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)
h=Header to use instead of category name (optional)