Template:AN-archive-talk: Difference between revisions
Appearance
Content deleted Content added
doops |
MusikBot II (talk | contribs) m Protected "Template:AN-archive-talk": High-risk template or module: 369 transclusions (more info) ([Edit=Require autoconfirmed or confirmed access] (indefinite)) |
||
(2 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Automatic archive navigator|1|prefix=Archive|links=17|noredlinks=no}} |
{{Automatic archive navigator|1|prefix=Archive|links=17|noredlinks=no}} |
||
<div style="text-align:center;">This AN archive was last edited on {{FRTS|{{REVISIONTIMESTAMP:Wikipedia:Administrators' noticeboard/Archive<includeonly>{{#invoke:string|sub|{{#titleparts:{{PAGENAME}}}}|36}}</includeonly><noinclude>1</noinclude>}}}}. |
<div style="text-align:center;">This AN archive was last edited on {{FRTS|{{REVISIONTIMESTAMP:Wikipedia:Administrators' noticeboard/Archive<includeonly>{{#invoke:string|sub|{{#titleparts:{{PAGENAME}}}}|36}}</includeonly><noinclude>1</noinclude>}}}} (or you can check the <span class="plainlinks">[https://en.wikipedia.org/enwiki/w/index.php?title={{URLENCODE:Wikipedia:Administrators' noticeboard/Archive<includeonly>{{#invoke:string|sub|{{#titleparts:{{PAGENAME}}}}|36}}</includeonly><noinclude>1</noinclude>}}&action=history&dir=prev&limit=1 first revision]</span>). |
||
{{#invoke:section sizes|size|Wikipedia:Administrators' noticeboard/Archive<includeonly>{{#invoke:string|sub|{{#titleparts:{{PAGENAME}}}}|36}}</includeonly><noinclude>1</noinclude>}}<!-- |
{{#invoke:section sizes|size|Wikipedia:Administrators' noticeboard/Archive<includeonly>{{#invoke:string|sub|{{#titleparts:{{PAGENAME}}}}|36}}</includeonly><noinclude>1</noinclude>}}<!-- |
||
Thanks to pagename magic (see [[mw:Manual:PAGENAMEE encoding#PAGENAME]]), we have to use {{#titleparts:}} or else the ' in Administrators' starts counting as 5 characters instead of 1, which is very unhelpful |
Thanks to pagename magic (see [[mw:Manual:PAGENAMEE encoding#PAGENAME]]), we have to use {{#titleparts:}} or else the ' in Administrators' starts counting as 5 characters instead of 1, which is very unhelpful |
Latest revision as of 18:00, 25 March 2024
This is an archive of past discussions about Template:AN-archive-talk. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current main page. |
This AN archive was last edited on 2023-09-06 15:31:19 (or you can check the first revision).
Section name | Byte count |
Section total |
---|---|---|
(Top) | 1,000 | 1,000 |
Letting other admins know about this board | 2,222 | 2,222 |
RFC that were listed on VfD | 720 | 720 |
Re RFC pages on VfD | 1,701 | 1,701 |
VfD | 139 | 139 |
RFC pages on VfD | 2,110 | 2,110 |
Re: VFDing RFC | 507 | 507 |
RFCs on VFD | 2,978 | 2,978 |
Deletion of RFCs | 480 | 480 |
RFC on VFD | 5,159 | 5,159 |
RFC VFDs | 5,722 | 5,722 |
VfD vs RfC | 157 | 157 |
Cheesedreams/RFC/VfD | 4,661 | 4,661 |
RFC pages on VfD | 673 | 673 |
VfD | 127 | 127 |
Deleting RFCs | 2,358 | 2,358 |
Total | 30,714 | 30,714 |
- See also: Template:ANI-archive-talk
This template goes at the top of talk pages for AN archives. It uses {{Section sizes}} to automatically generate a table of section sizes for the attached Administrators' noticeboard archive page. See it in action, for example, at Wikipedia talk:Administrators' noticeboard/Archive123.
To specify the archive number, it uses the following code to strip it from {{PAGENAME}}:
{{#invoke:string|sub|{{#titleparts:{{PAGENAME}}}}|36}}
That is to say, it uses the string functions extension to take a string starting from the 36th position.
Wikipedia:Administrators' noticeboard/Archive1234 11111111112222222222333333333344444444 12345678901234567890123456789012345678901234567
If you are trying to adapt this template to work on something else, you'll need to change the string sub point as needed.