Difference between revisions of "Template:Archived"

From World Naked Bike Ride
Jump to: navigation, search
(Introduction of optional named parameter 'TextIfNoRideLocation', which would be shown instead of the default text for archiving a ride location page.)
(Prepared for double usage)
Line 1: Line 1:
'''This page has been ''archived''.''' {{{TextIfNoRideLocation|'''Please visit the [[Talk:Archived ride locations|''talk page'' of 'Archived ride locations']] if you would like to start or restart a ride at {{PAGENAME}}{{{1|}}}.'''}}}<hr style="margin-top:1em;" /><includeonly>[[Category:Archived pages|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
{{#ifeq:{{PAGENAME}}|List of rides|'''This page has been ''archived''.''' {{{TextIfNoRideLocation|'''Please visit the [[Talk:Archived ride locations|''talk page'' of 'Archived ride locations']] if you would like to start or restart a ride at {{PAGENAME}}{{{1|}}}.'''}}}<hr style="margin-top:1em;" /><includeonly>[[Category:Archived pages|{{PAGENAME}}]]</includeonly>|<span class="plainlinks" style="display:inline-block;line-height:.8em;background-color:#EEE;border:1px solid #999;borders:1px 0 1px 1px;vertical-align:.1em;padding:0 .25ex .12em .7ex;font-variant:small-caps;font-size:86%;">[http://wiki.worldnakedbikeride.org/index.php?title=Template:Archived_ride_locations#{{{1}}}} archived<span font-size:86%;">:</span>]</span>}}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Revision as of 11:26, 5 May 2020