Template:Infobox puzzle: Difference between revisions

Content added Content deleted
(Add automatic authorship categorization)
(better sortkey for authorship categories)
Tag: Reverted
Line 1: Line 1:
<includeonly>{{#if:{{{suppresstitle|}}}||{{#ifeq:{{SUBPAGENAME}}|{{ROOTPAGENAME}}|{{#if:{{{hunt|}}}|{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{{hunt}}})|noreplace}}{{DEFAULTSORT:{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{{hunt}}})}}|noreplace}}[[Category:Puzzles from {{{hunt}}}]]|{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}}}}{{DEFAULTSORT:{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}}}}}}}}|{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{#if:{{{hunt|}}}|{{{hunt}}}|{{ROOTPAGENAME}}}})|noreplace}}{{DEFAULTSORT:{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{#if:{{{hunt|}}}|{{{hunt}}}|{{ROOTPAGENAME}}}})}}|noreplace}}[[Category:Puzzles from {{#if:{{{hunt|}}}|{{{hunt}}}|{{ROOTPAGENAME}}}}]]}}}}<!--Authorship categories-->{{#ifeq:{{NAMESPACE}}|Template||{{#if:{{{author1|}}}|[[Category:Puzzles by {{{author1}}}]]{{#if:{{{author2|}}}|[[Category:Puzzles by {{{author2}}}]]|}}{{#if:{{{author3|}}}|[[Category:Puzzles by {{{author3}}}]]|}}{{#if:{{{author4|}}}|[[Category:Puzzles by {{{author4}}}]]|}}{{#if:{{{author5|}}}|[[Category:Puzzles by {{{author5}}}]]|}}{{#if:{{{author6|}}}|[[Category:Puzzles by {{{author6}}}]]|}}{{#if:{{{author7|}}}|[[Category:Puzzles by {{{author7}}}]]|}}{{#if:{{{author8|}}}|[[Category:Puzzles by {{{author8}}}]]|}}{{#if:{{{author9|}}}|[[Category:Puzzles by {{{author9}}}]]|}}|{{#if:{{{author|}}}|[[Category:Puzzles by {{{author}}}]]||}}}}}}
<includeonly>{{#if:{{{suppresstitle|}}}||{{#ifeq:{{SUBPAGENAME}}|{{ROOTPAGENAME}}|{{#if:{{{hunt|}}}|{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{{hunt}}})|noreplace}}{{DEFAULTSORT:{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{{hunt}}})}}|noreplace}}[[Category:Puzzles from {{{hunt}}}]]|{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}}}}{{DEFAULTSORT:{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}}}}}}}}|{{DISPLAYTITLE:{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{#if:{{{hunt|}}}|{{{hunt}}}|{{ROOTPAGENAME}}}})|noreplace}}{{DEFAULTSORT:{{#if:{{{sortkey|}}}|{{{sortkey}}}|{{#if:{{{title|}}}|{{{title}}}|{{SUBPAGENAME}}}} ({{#if:{{{hunt|}}}|{{{hunt}}}|{{ROOTPAGENAME}}}})}}|noreplace}}[[Category:Puzzles from {{#if:{{{hunt|}}}|{{{hunt}}}|{{ROOTPAGENAME}}}}]]}}}}<!--Authorship categories-->{{#ifeq:{{NAMESPACE}}|Template||{{#if:{{{author1|}}}|[[Category:Puzzles by {{{author1}}}|{{{author1}}}]]{{#if:{{{author2|}}}|[[Category:Puzzles by {{{author2}}}|{{{author2}}}]]|}}{{#if:{{{author3|}}}|[[Category:Puzzles by {{{author3}}}|{{{author3}}}]]|}}{{#if:{{{author4|}}}|[[Category:Puzzles by {{{author4}}}|{{{author4}}}]]|}}{{#if:{{{author5|}}}|[[Category:Puzzles by {{{author5}}}|{{{author5}}}]]|}}{{#if:{{{author6|}}}|[[Category:Puzzles by {{{author6}}}|{{{author6}}}]]|}}{{#if:{{{author7|}}}|[[Category:Puzzles by {{{author7}}}|{{{author7}}}]]|}}{{#if:{{{author8|}}}|[[Category:Puzzles by {{{author8}}}|{{{author8}}}]]|}}{{#if:{{{author9|}}}|[[Category:Puzzles by {{{author9}}}|{{{author9}}}]]|}}|{{#if:{{{author|}}}|[[Category:Puzzles by {{{author}}}|{{{author}}}]]||}}}}}}
{{Infobox
{{Infobox
|abovestyle = background:#d18c63;
|abovestyle = background:#d18c63;

Revision as of 20:38, 7 December 2022