Difference between revisions of "Template:Lafc"
Jump to navigation
Jump to search
imported>Technical 13 (If the "submission" page doesn't exist, it shouldn't try to link to it with AFCH/u via the preload via this template. Also, that's not the right documentation. This template is sufficiently different enough it should have its own documentation.) |
imported>Technical 13 (If this works to fix that part of it, I'll adjust the other template to accept an empty parameter and know what to do with it. Otherwise, I'll adjust it again to explicitly be "none" or "Sandbox" or something.) |
||
| Line 1: | Line 1: | ||
{{#ifeq:{{{username|}}}|| | {{#ifeq:{{{username|}}}|| | ||
* <span style="color: #C00; font-weight: bold;">Username missing!</span>| | * <span style="color: #C00; font-weight: bold;">Username missing!</span>| | ||
| − | * {{User|{{{username}}}}}{{#ifeq:{{FULLPAGENAME}}|Wikipedia:WikiProject Articles for creation/Help desk|{{#iferror:{{#time:U|{{{ts}}}}}|| <sup>({{Plain link|url={{safesubst:fullurl:User talk:{{{username}}}|action=edit§ion=new&nosummary=1&summary={{urlencode:You have a new reply on the [[Wikipedia:WikiProject Articles for creation/Help desk|help desk]]!}}&preload=Template:AFCHD/u/preload{{#ifexist:{{urlencode:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft|{{{link|{{{page}}}}}}}}}}}}}}}}}}}}}}}| | + | * {{User|{{{username}}}}}{{#ifeq:{{FULLPAGENAME}}|Wikipedia:WikiProject Articles for creation/Help desk|{{#iferror:{{#time:U|{{{ts}}}}}|| <sup>({{Plain link|url={{safesubst:fullurl:User talk:{{{username}}}|action=edit§ion=new&nosummary=1&summary={{urlencode:You have a new reply on the [[Wikipedia:WikiProject Articles for creation/Help desk|help desk]]!}}&preload=Template:AFCHD/u/preload&preloadparams%5B%5D={{#ifexist:{{urlencode:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft|{{{link|{{{page}}}}}}}}}}}}}}}}}}}}}}}|{{urlencode:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft|{{{link|{{{page}}}}}}}}}}}}}}}}}}}}}}}}}&preloadparams%5B%5D={{urlencode:{{{ts}}} review of submission by {{{username}}}}}}}|name=TB}})</sup>}}}}}}{{#if:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft|}}}}}}}}}}}}}}}| |
** {{#ifexist:{{La|{{PAGENAME:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}|{{La|{{PAGENAME:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}}} | ** {{#ifexist:{{La|{{PAGENAME:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}|{{La|{{PAGENAME:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}}} | ||
** {{Lx|1={{#ifeq:{{NAMESPACE:{{{accepted|{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}}|Wikipedia talk|{{TALKSPACE:{{{accepted|{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}}|{{ARTICLESPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}:|2={{PAGENAME:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}|3={{#ifeq:{{NAMESPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}|Wikipedia talk|{{ARTICLESPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}|{{TALKSPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}|4=talk}}|{{#ifeq:{{{2|{{{1|{{{link|{{{page|}}}}}}}}}}}}|| | ** {{Lx|1={{#ifeq:{{NAMESPACE:{{{accepted|{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}}|Wikipedia talk|{{TALKSPACE:{{{accepted|{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}}|{{ARTICLESPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}:|2={{PAGENAME:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}|3={{#ifeq:{{NAMESPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}|Wikipedia talk|{{ARTICLESPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}|{{TALKSPACE:{{{accepted|{{{declinedtalk|{{{declined|{{{pending|{{{draft}}}}}}}}}}}}}}}}}}}|4=talk}}|{{#ifeq:{{{2|{{{1|{{{link|{{{page|}}}}}}}}}}}}|| | ||
Revision as of 21:37, 7 July 2014
- Username missing!
- No draft specified!
Usage
This template is used to assist the helpers on the WP:WPAFC/HD and is placed by various preload templates to achieve different results:
- {{AFC submission/declined/HD preload}}
- {{AFC submission/pending/HD preload}}
- {{AFC submission/draft/HD preload}}
- {{Afc decline/HD preload}}
- {{AfC talk/HD preload}}
Parameters
The template parameters are:
- 1 =
- username =
- accepted =
- declined =
- declinedtalk =
- pending =
- draft =
- link =
- page =
| The above documentation is transcluded from Template:Lafc/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |