Difference between revisions of "Template:Inactive WikiProject banner/doc"

From blackwiki
Jump to navigation Jump to search
imported>MSGJ
(→‎Example: tweak)
imported>Funandtrvl
(update info)
 
(13 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
  
=== Usage ===
+
== Usage ==
This template is designed to replace banner templates of inactive WikiProjects. This results in a reduced-size banner on uses of the template and a message explaining that the project is inactive.
+
This template is designed to replace banner templates of inactive WikiProjects. Keeping an inactive project's template on relevant talkpages helps any group of users who later wishes to revive the project.
  
 
The easiest way to convert a banner template to an inactive state, is to replace '''WPBannerMeta''' with '''WPBannerMeta/inactive'''.
 
The easiest way to convert a banner template to an inactive state, is to replace '''WPBannerMeta''' with '''WPBannerMeta/inactive'''.
Line 13: Line 13:
 
*''category'' - should be passed to allow category optout, i.e. {{para|category|<nowiki>{{{category|}}}</nowiki>}}
 
*''category'' - should be passed to allow category optout, i.e. {{para|category|<nowiki>{{{category|}}}</nowiki>}}
  
However all the other [[Template:WPBannerMeta]] parameters can and should be retained, as this will make it easier to "revive" the project in the future.
+
However, all the other [[:Template:WPBannerMeta]] parameters can and should be retained, as this will make it easier to "revive" the project in the future.
  
===Example===
+
==Examples==
 
<pre>{{WPBannerMeta/inactive
 
<pre>{{WPBannerMeta/inactive
 
  |PROJECT    = Extreme sports
 
  |PROJECT    = Extreme sports
 
  |BANNER_NAME = Template:WikiProject Extreme sports
 
  |BANNER_NAME = Template:WikiProject Extreme sports
  |category={{{category|¬}}}
+
  |category={{{category|}}}
 
}}</pre>
 
}}</pre>
produces:
+
:produces:
{{WPBannerMeta/inactive
+
{{WPBannerMeta/inactive|PROJECT=Extreme sports|BANNER_NAME = Template:WikiProject Extreme sports|category=no}}
  |PROJECT    = Extreme sports
+
:When inside a banner shell the result is:
  |BANNER_NAME = Template:WikiProject Extreme sports
+
{{WikiProjectBannerShell|{{WPBannerMeta/inactive|PROJECT=Extreme sports|BANNER_NAME = Template:WikiProject Extreme sports|category=no}}}}
  |category=no
+
----
}}
+
'''If a WikiProject becomes defunct''' then apply the {{para|status|defunct}} parameter in the following manner:
 +
<pre>{{WPBannerMeta/inactive
 +
  |PROJECT    = Policy and Guidelines
 +
  |BANNER_NAME = Template:WikiProject Policy and Guidelines
 +
  |category={{{category|}}}
 +
|status=defunct
 +
}}</pre>
 +
:produces:
 +
{{WPBannerMeta/inactive|PROJECT=Policy and Guidelines|BANNER_NAME = Template:WikiProject Policy and Guidelines|category=no|status=defunct}}
 +
:When inside a banner shell the result is:
 +
{{WikiProjectBannerShell|{{WPBannerMeta/inactive|PROJECT=Policy and Guidelines|BANNER_NAME = Template:WikiProject Policy and Guidelines|category=no|status=defunct}}}}
  
=== See also ===
+
== See also ==
 +
* [[:Template:WikiProject status]] (use {{tlp|WikiProject status|inactive}} to mark inactive projects)
 +
* [[:Category:Inactive WikiProjects]]
 +
* [[WP:INACTIVEWP]]
  
<includeonly>
+
<includeonly>{{sandbox other||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:Generic WikiProject templates|{{PAGENAME}}]]
+
[[Category:Inactive WikiProject banners|*]]
</includeonly>
+
[[Category:Generic WikiProject templates]]
 +
}}</includeonly>

Latest revision as of 19:49, 22 October 2020

Usage

This template is designed to replace banner templates of inactive WikiProjects. Keeping an inactive project's template on relevant talkpages helps any group of users who later wishes to revive the project.

The easiest way to convert a banner template to an inactive state, is to replace WPBannerMeta with WPBannerMeta/inactive.

Parameters

The only required parameters are:

  • PROJECT - the name of the WikiProject (but without the word "WikiProject")
  • BANNER_NAME - the page name of the banner template
  • category - should be passed to allow category optout, i.e. |category={{{category|}}}

However, all the other Template:WPBannerMeta parameters can and should be retained, as this will make it easier to "revive" the project in the future.

Examples

{{WPBannerMeta/inactive
 |PROJECT     = Extreme sports
 |BANNER_NAME = Template:WikiProject Extreme sports
 |category={{{category|}}}
}}
produces:

Template:WPBannerMeta/inactive

When inside a banner shell the result is:

Template:WikiProjectBannerShell


If a WikiProject becomes defunct then apply the |status=defunct parameter in the following manner:

{{WPBannerMeta/inactive
 |PROJECT     = Policy and Guidelines
 |BANNER_NAME = Template:WikiProject Policy and Guidelines
 |category={{{category|}}}
 |status=defunct
}}
produces:

Template:WPBannerMeta/inactive

When inside a banner shell the result is:

Template:WikiProjectBannerShell

See also