Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 Usage  





2 Maintenance  





3 Tracking categories  





4 See also  














Template:YearInCountryPortalBox






فارسی
Հայերեն
Bahasa Indonesia
Kurdî

Bahasa Melayu
Română
Scots


Tiếng Vit

 

Edit links
 









Template
Talk
 

















Read
View source
View history
 








Tools
   


Actions  



Read
View source
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
Wikidata item
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 





Permanently protected template

From Wikipedia, the free encyclopedia
 


Usage

  • History portal
  • iconGeography portal
  • {{yearInCountryPortalBox|England}}
    

    will create a portal box featuring England and History.

    This is used for example at Category:16th century in England.

    The template takes up to three parameters, to handle cases where a portal for a specific topic may not exist. Up to three topics can be entered, starting with the most general and ending with the most specific.

    There is also an optional parameter Year. If this is present, the template will include a link to the portal for the relevant decade, if it exists.

    {{yearInCountryPortalBox|United Kingdom|England|London|year=1995}}
    

    will create a portal box featuring London, History and 1990s portals.

    If there was no London portal, it would show the England portal instead.

    If there was neither a London nor an England portal, it would show the United Kingdom portal instead.

    Maintenance

    Template:YearInCountryPortalBox/parse contains a list of switches where new country names, regions or continents may be specified for country names that do not have a portal of their own. In some cases this list gives two portals separated by %%, e.g. to add former colonial powers such as

    | Spanish Sahara = Western Sahara %% Spain
    

    Two is the maximum; this aspect of the template will not work with three or more.

    Date ranges may also be added e.g. for former colonial powers.

    Tracking categories

    See also


    Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:YearInCountryPortalBox&oldid=833148521"

    Categories: 
    Temporal templates
    Country templates
    Wikipedia Portal templates
    Hidden category: 
    Wikipedia template-protected templates
     



    This page was last edited on 29 March 2018, at 22:40 (UTC).

    Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



    Privacy policy

    About Wikipedia

    Disclaimers

    Contact Wikipedia

    Code of Conduct

    Developers

    Statistics

    Cookie statement

    Mobile view



    Wikimedia Foundation
    Powered by MediaWiki