Test nation navbox

From The World of Gotha
Jump to navigation Jump to search

Step-by-Step Guide to Creating and Using a Nation NavBox Template

1. Copy the Template Code from the "Test Nation Navbox" Template Page

  1. Locate the Template:
    • Go to the template page on your wiki that serves as the example or template base. This page is usually named something like "Template:Test nation navbox".
  2. Copy the Template Code:
    • Open the edit mode of the "Template:Test nation navbox" page.
    • Select all the code provided in the template editor.
    • Copy the entire block of code to your clipboard.

2. Create a New Template Page for Your Nation

  1. Create a New Template Page:
    • Go to your wiki and create a new page. The naming convention for the template page should be "Template:NavBox<nation name>".
    • Replace <nation name> with the actual name of your nation. For example, if you're creating a navbox for France, the page should be named "Template:NavBoxFrance".
  2. Paste the Template Code:
    • Enter the edit mode for your newly created template page, "Template:NavBox<nation name>".
    • Paste the copied template code from "Test nation navbox".
  3. Customize the Template:
    • Edit the template to customize it for your nation. This involves changing the placeholder text and links to reflect the specific articles and subcategories relevant to your nation.
    • For example, update the links to point to the appropriate pages, like [[Prehistoric France|Prehistoric period]] or [[Regions of France|Regions]].
  4. Save the Template Page:
    • After making your changes, save the new template page. You now have a customized navigation box template for your nation.

3. Use the Template on Any Page

  1. Add the Template to a Page:
    • To use the navbox template on any page related to your nation, simply add the following syntax at the bottom of the page:
    • Replace <nation name> with the name of your nation. For example, for France, you would add {{NavBoxFrance}}.
  2. Repeat for Multiple Pages:
    • You can add the navbox template to as many pages as needed within your wiki. This makes it easy to maintain a consistent navigation structure across all related articles.

Example Walkthrough

Let’s go through an example to make it clearer:

Example: Creating and Using a NavBox for France

  1. Copy the Template:
    • Go to "Template:Test nation navbox" and copy the code.
  2. Create the Template Page for France:
    • Create a new page: "Template:NavBoxFrance".
    • Paste the copied code and customize it with links related to France (e.g., [[Regions of France|Regions]]).
  3. Add the NavBox to Articles:
    • On each article related to France (like "History of France", "Geography of France", etc.), add the following at the bottom:
{{NavBoxFrance}}

By following these steps, you create a reusable, centralized navigation box that can be easily maintained and updated from a single template page. This method ensures that any changes to the template are reflected across all pages using it, saving time and ensuring consistency.

TEMPLATE CODE TO COPY

You do not have to use all the 6 subcategories, you can leave the ones you don't need black to remove them.

{{NatTopics
| top color = #BDBDBD
| title color = #4169e1
| flag = France_flag.png
| nation name = France
| history1 = Prehistory
| history_links1 = [[Prehistoric France|Prehistoric period]], [[Stone Age|Stone Age]]
| history2 = Greek colonies
| history_links2 = [[Massalia|Marseille]]
| history3 = Roman Gaul
| history_links3 = [[Gaul|Roman history]]
| history4 = Kingdom of France
| history_links4 = [[Frankish Kingdom|Franks]], [[Carolingian Empire]]
| history5 = French Revolution
| history_links5 = [[Storming of the Bastille|Bastille]], [[Reign of Terror|Terror]]
| history6 = World War II
| history_links6 = [[Vichy France|Vichy regime]], [[French Resistance|Resistance]]
| geography1 = Administrative divisions
| geography_links1 = [[Regions of France|Regions]], [[Departments of France|Departments]]
| geography2 = Cities
| geography_links2 = [[Paris|Capital]], [[Lyon|Lyon]]
| geography3 = Climate
| geography_links3 = [[Climate of France|Climate types]]
| geography4 = Borders
| geography_links4 = [[France–Germany border|Germany]], [[France–Italy border|Italy]]
| geography5 = Rivers
| geography_links5 = [[Seine River|Seine]], [[Loire River|Loire]]
| geography6 = Lakes
| geography_links6 = [[Lake Geneva|Geneva]]
| politics1 = Constitution
| politics_links1 = [[French Constitution|Constitution]]
| politics2 = Elections
| politics_links2 = [[French presidential election|Presidential]], [[French legislative election|Legislative]]
| politics3 = Foreign relations
| politics_links3 = [[France in the European Union|EU]], [[France and NATO|NATO]]
| politics4 = Political parties
| politics_links4 = [[La République En Marche!|LREM]], [[National Rally (France)|National Rally]]
| politics5 = Judiciary
| politics_links5 = [[Judiciary of France|Judicial system]]
| politics6 = Military
| politics_links6 = [[French Armed Forces|Armed Forces]]
| economy1 = Agriculture
| economy_links1 = [[Agriculture in France|Agriculture sector]]
| economy2 = Automotive industry
| economy_links2 = [[Renault|Renault]], [[Peugeot|Peugeot]]
| economy3 = Banking
| economy_links3 = [[Banque de France|Central Bank]]
| economy4 = Energy
| economy_links4 = [[Nuclear power in France|Nuclear power]], [[Renewable energy in France|Renewables]]
| economy5 = Stock exchange
| economy_links5 = [[Euronext|Stock market]]
| economy6 = Transport
| economy_links6 = [[Transport in France|Transport system]]
| society1 = Demographics
| society_links1 = [[Demographics of France|Population statistics]]
| society2 = Education
| society_links2 = [[Education in France|Education system]]
| society3 = Health care
| society_links3 = [[Health care in France|Healthcare system]]
| society4 = Immigration
| society_links4 = [[Immigration to France|Immigration policy]]
| society5 = Religion
| society_links5 = [[Religion in France|Religious demographics]]
| society6 = LGBT rights
| society_links6 = [[LGBT rights in France|LGBT laws]]
| culture1 = Architecture
| culture_links1 = [[Gothic architecture in France|Gothic]], [[Renaissance architecture in France|Renaissance]]
| culture2 = Art
| culture_links2 = [[Louvre|Louvre Museum]], [[Impressionism|Impressionism]]
| culture3 = Cinema
| culture_links3 = [[French cinema|French films]], [[Cannes Film Festival|Cannes]]
| culture4 = Cuisine
| culture_links4 = [[French cuisine|Cuisine]], [[French wine|Wine]]
| culture5 = Literature
| culture_links5 = [[French literature|Literature]]
| culture6 = Music
| culture_links6 = [[French music|Music genres]], [[Opera|Opera]]
}}

EXAMPLE OF HOW IT MAY LOOK

France flag France Topics France flag

History

Prehistory: Prehistoric period, Stone Age
Greek colonies: Marseille
Roman Gaul: Roman history
Kingdom of France: Franks, Carolingian Empire
French Revolution: Bastille, Terror
World War II: Vichy regime, Resistance

Geography

Administrative divisions: Regions, Departments
Cities: Capital, Lyon
Climate: Climate types
Borders: Germany, Italy
Rivers: Seine, Loire
Lakes: Geneva

Politics

Constitution: Constitution
Elections: Presidential, Legislative
Foreign relations: EU, NATO
Political parties: LREM, National Rally
Judiciary: Judicial system
Military: Armed Forces

Economy

Agriculture: Agriculture sector
Automotive industry: Renault, Peugeot
Banking: Central Bank
Energy: Nuclear power, Renewables
Stock exchange: Stock market
Transport: Transport system

Society

Demographics: Population statistics
Education: Education system
Health care: Healthcare system
Immigration: Immigration policy
Religion: Religious demographics
LGBT rights: LGBT laws

Culture

Architecture: Gothic, Renaissance
Art: Louvre Museum, Impressionism
Cinema: French films, Cannes
Cuisine: Cuisine, Wine
Literature: Literature
Music: Music genres, Opera