Rich Farmbrough (talk | contribs) No edit summary |
Fixed stats by replacing urlencode with anchorencode |
||
Line 1: | Line 1: | ||
====<span id="{{{redirect}}}">{{{redirect}}}</span>==== |
====<span id="{{{redirect}}}">{{{redirect}}}</span>==== |
||
*{{noredirect|1 = {{{redirect}}} }} → [[:{{{target}}}]] ([[Special:Whatlinkshere/{{{redirect}}}|links to redirect]]) ([http://stats.grok.se/en/{{CURRENTYEAR}}{{CURRENTMONTH}}/{{ |
*{{noredirect|1 = {{{redirect}}} }} → [[:{{{target}}}]] ([[Special:Whatlinkshere/{{{redirect}}}|links to redirect]]) ([http://stats.grok.se/en/{{CURRENTYEAR}}{{CURRENTMONTH}}/{{anchorencode:{{{redirect}}}}} stats]) |
||
{{{text|}}}<noinclude> |
{{{text|}}}<noinclude> |
||
{{documentation}} |
{{documentation}} |
Revision as of 07:43, 9 September 2009
{{{redirect}}}
- [[:]] → [[:{{{target}}}]] ([[Special:Whatlinkshere/{{{redirect}}}|links to redirect]]) (stats)
Usage
This template must be substituted (i.e. subst:
must be used), otherwise an error will appear. When posted correctly, an external link labeled "stats" will be the last item in parentheses, as in the examples below in the examples sections.
Single nomination listing
{{subst:rfd2|redirect=RedirectName|target=TargetArticle|text=The action you would like to occur (deletion, re-targeting, etc.) and the rationale for that action.}} ~~~~
Multiple nomination listing
{{subst:rfd2|redirect=RedirectName1|target=TargetArticle1}}
{{subst:rfd2|multi=yes|redirect=RedirectName2|target=TargetArticle2}}
{{subst:rfd2|multi=yes|redirect=RedirectNameN|target=TargetArticleN|text=The action you would like to occur (deletion, re-targeting, etc.) and the rationale for that action.}} ~~~~
The code above will output a list of three redirects. For two redirects, omit the second line; for more than three redirects, repeat the second line as many times as is necessary.
When combining multiple redirects in this manner, the redirect put in the {{rfd2}} template without |multi=yes
will be the name used for the section header. Therefore, it is advisable to put the most generally named redirect in the first line. If this is not possible, you may use |header=
in the first listing, to set the heading text as desired.
Alternatively, one may use {{subst:rfd2 multi}}
for up to 10 listings.
Custom header
To add a custom header before the first nomination, |header=
can be added to the template to customize the header. Note: if the |multi=
parameter is used, then there will not be a header, even if the |header=
parameter is used.
Single nomination examples
Example 1
{{subst:rfd2|redirect=US|target=United Kingdom}}
appears as:
US
- US → United Kingdom (links to redirect) (stats)
Example 2
{{subst:rfd2|redirect=British SSR|target=United Kingdom}}
appears as:
British SSR
- British SSR → United Kingdom (links to redirect) (stats)
Example 3
{{subst:rfd2|header=A redirect example towards [[United Kingdom]]|redirect=UK|target=United Kingdom}}
appears as:
UK
- UK → United Kingdom (links to redirect) (stats)
Multiple nomination examples
Example 4
{{subst:rfd2|redirect=Greek Republic|target=Greece}}
{{subst:rfd2|multi=yes|redirect=Hellenic Republic|target=Greece}}
{{subst:rfd2|multi=yes|redirect=Greek isles|target=List of islands of Greece|text=These redirects are misleading.}}
appears as:
Greek Republic
- Greek Republic → Greece (links to redirect) (stats)
Hellenic Republic
- Hellenic Republic → Greece (links to redirect) (stats)
Greek isles
- Greek isles → List of islands of Greece (links to redirect) (stats)
These redirects are misleading.
Example 5
{{subst:rfd2|header=Several Greece-related redirects|redirect=Greek Republic|target=Greece}}
{{subst:rfd2|multi=yes|redirect=Hellenic Republic|target=Greece}}
{{subst:rfd2|multi=yes|redirect=Greek isles|target=List of islands of Greece|text=These redirects are misleading.}}
appears as:
Greek Republic
- Greek Republic → Greece (links to redirect) (stats)
Hellenic Republic
- Hellenic Republic → Greece (links to redirect) (stats)
Greek isles
- Greek isles → List of islands of Greece (links to redirect) (stats)
These redirects are misleading.