Difference between revisions of "Template:Inactive WikiProject banner"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(Moved to /doc)
imported>MSGJ
(use new HOOK_NESTED_ASSESS to display inactive status)
Line 14: Line 14:
 
  |{{{PROJECT_LINK}}}
 
  |{{{PROJECT_LINK}}}
 
  |Wikipedia:WikiProject {{{PROJECT}}}
 
  |Wikipedia:WikiProject {{{PROJECT}}}
}}|WikiProject {{{PROJECT}}}]], a project which is currently considered to be '''[[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{{status|inactive}}}]]'''.
+
}}|WikiProject {{{PROJECT}}}]], a project which is currently considered to be '''[[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{#if:{{{status|}}}|{{{status}}}|inactive}}]]'''.
|HOOK_NESTED        =    ([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{{status|Inactive}}}]])
+
|HOOK_NESTED_ASSESS  = ([[Wikipedia:WikiProject Council/Guide#Dealing with inactive WikiProjects|{{#if:{{{status|}}}|{{ucfirst:{{{status}}}}}|Inactive}}]])
 
}}<noinclude>
 
}}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 20:55, 2 October 2020

Template:WPBannerMeta

50px Template documentation[view] [edit] [history] [purge]

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