Template:Pagelist: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Doug Bell Create template that creates a comma-separated list of pages formatted as links |
meta>Doug Bell Add optional "nspace" argument to specify the namespace. |
||
Line 1: | Line 1: | ||
{{{delim|}}}[[:{{NAMESPACE}}:{{{1}}}|{{{1}}}]]{{{edelim|{{{delim|}}}}}}<!-- | {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{1}}}|{{{1}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{2|}}}|then={{qif|test={{{3|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{2}}}|{{{2}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{2|}}}|then={{qif|test={{{3|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{2}}}|{{{2}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{3|}}}|then={{qif|test={{{4|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{3}}}|{{{3}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{3|}}}|then={{qif|test={{{4|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{3}}}|{{{3}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{4|}}}|then={{qif|test={{{5|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{4}}}|{{{4}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{4|}}}|then={{qif|test={{{5|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{4}}}|{{{4}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{5|}}}|then={{qif|test={{{6|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{ | -->{{qif|test={{{5|}}}|then={{qif|test={{{6|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{5}}}|{{{5}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{6|}}}|then={{qif|test={{{7|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{6}}}|{{{6}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{6|}}}|then={{qif|test={{{7|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{6}}}|{{{6}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{7|}}}|then={{qif|test={{{8|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{7}}}|{{{7}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{7|}}}|then={{qif|test={{{8|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{7}}}|{{{7}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{8|}}}|then={{qif|test={{{9|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{8}}}|{{{8}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{8|}}}|then={{qif|test={{{9|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{8}}}|{{{8}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{9|}}}|then={{qif|test={{{10|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{ | -->{{qif|test={{{9|}}}|then={{qif|test={{{10|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{9}}}|{{{9}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{10|}}}|then={{qif|test={{{11|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{10}}}|{{{10}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{10|}}}|then={{qif|test={{{11|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{10}}}|{{{10}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{11|}}}|then={{qif|test={{{12|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{11}}}|{{{11}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{11|}}}|then={{qif|test={{{12|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{11}}}|{{{11}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{12|}}}|then={{qif|test={{{13|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{12}}}|{{{12}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{12|}}}|then={{qif|test={{{13|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{12}}}|{{{12}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{13|}}}|then={{qif|test={{{14|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{ | -->{{qif|test={{{13|}}}|then={{qif|test={{{14|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{13}}}|{{{13}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{14|}}}|then={{qif|test={{{15|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{14}}}|{{{14}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{14|}}}|then={{qif|test={{{15|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{14}}}|{{{14}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{15|}}}|then={{qif|test={{{16|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{15}}}|{{{15}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{15|}}}|then={{qif|test={{{16|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{15}}}|{{{15}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{16|}}}|then={{qif|test={{{17|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{16}}}|{{{16}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{16|}}}|then={{qif|test={{{17|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{16}}}|{{{16}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{17|}}}|then={{qif|test={{{18|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{17}}}|{{{17}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{17|}}}|then={{qif|test={{{18|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{17}}}|{{{17}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{18|}}}|then={{qif|test={{{19|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{18}}}|{{{18}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{18|}}}|then={{qif|test={{{19|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{18}}}|{{{18}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{19|}}}|then={{qif|test={{{20|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{NAMESPACE}}:{{{19}}}|{{{19}}}]]{{{edelim|{{{delim|}}}}}}<!-- | -->{{qif|test={{{19|}}}|then={{qif|test={{{20|}}}|then=,|else=<nowiki> </nowiki>and}} {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{19}}}|{{{19}}}]]{{{edelim|{{{delim|}}}}}}<!-- | ||
-->{{qif|test={{{20|}}}|then= and {{{delim|}}}[[:{{NAMESPACE}}:{{{20}}}|{{{20}}}]]{{{edelim|{{{delim|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}<noinclude> | -->{{qif|test={{{20|}}}|then= and {{{delim|}}}[[:{{{nspace|{{NAMESPACE}}}}}:{{{20}}}|{{{20}}}]]{{{edelim|{{{delim|}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}<noinclude> | ||
---- | ---- |
Revision as of 05:55, 23 March 2006
[[:Template:{{{1}}}|{{{1}}}]]Template:Qif
This template creates a comma-separated list of pages formatted as links. Up to 20 pages may be included in the list. See the talk page for usage and examples.