<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://meta.wikioasis.org/wiki/Template:Portal_navigation/doc?action=history&amp;feed=atom</id>
	<title>Template:Portal navigation/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://meta.wikioasis.org/wiki/Template:Portal_navigation/doc?action=history&amp;feed=atom"/>
	<link rel="alternate" type="text/html" href="https://meta.wikioasis.org/wiki/Template:Portal_navigation/doc?action=history"/>
	<updated>2026-05-24T21:29:08Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://meta.wikioasis.org/wiki/Template:Portal_navigation/doc?diff=1406&amp;oldid=prev</id>
		<title>WikiOasisGDPR1162b7f4ed1ab49381ec4a02900cb791: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://meta.wikioasis.org/wiki/Template:Portal_navigation/doc?diff=1406&amp;oldid=prev"/>
		<updated>2025-04-14T03:29:08Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 03:29, 14 April 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key metawiki:diff:1.41:old-1405:rev-1406 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiOasisGDPR1162b7f4ed1ab49381ec4a02900cb791</name></author>
	</entry>
	<entry>
		<id>https://meta.wikioasis.org/wiki/Template:Portal_navigation/doc?diff=1405&amp;oldid=prev</id>
		<title>Miraheze &gt;Rodejong: Updating and/or correcting</title>
		<link rel="alternate" type="text/html" href="https://meta.wikioasis.org/wiki/Template:Portal_navigation/doc?diff=1405&amp;oldid=prev"/>
		<updated>2025-02-03T22:44:07Z</updated>

		<summary type="html">&lt;p&gt;Updating and/or correcting&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{lua|Module:Portal navigation|Module:Arguments|Module:Yesno}}&lt;br /&gt;
&amp;lt;!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) --&amp;gt;&lt;br /&gt;
The &amp;#039;&amp;#039;&amp;#039;portal navigation&amp;#039;&amp;#039;&amp;#039; template is a meta-template for creating consistent, responsive navigation headers for portals.&lt;br /&gt;
&lt;br /&gt;
It is meant to be reasonably customizable, allowing different portals to &amp;quot;brand&amp;quot; themselves as they see fit, while maintaining consistent functionality so that different teams do not need to re-invent the wheel.&lt;br /&gt;
== Usage ==&lt;br /&gt;
=== Basic ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname =&lt;br /&gt;
| wrc =&lt;br /&gt;
| themecolor =&lt;br /&gt;
| tab1 =&lt;br /&gt;
| tab2 =&lt;br /&gt;
| tab3 =&lt;br /&gt;
| active =&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;portalname&amp;#039;&amp;#039;&amp;#039; – The name of the portal. Accepts any and all wikitext, so feel free to add links, images, what have you.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;wrc&amp;#039;&amp;#039;&amp;#039; – Is this portal part of the Wikimedia Resource Center? If you specify &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;1&amp;lt;/code&amp;gt;, &amp;#039;&amp;#039;WRC badge&amp;#039;&amp;#039; will be added atop your navigation header. Otherwise, nothing will happen.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;themecolor&amp;#039;&amp;#039;&amp;#039; – the primary color, used for the background color of the header bar and the color used to highlight the active tab. Must be a three- or six-digit hexadecimal code such as &amp;lt;code&amp;gt;#abcdef&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;#999&amp;lt;/code&amp;gt;.&lt;br /&gt;
** Note that you don&amp;#039;t need to specify the text color. Black or white is automatically chosen based on whichever gets more contrast. &lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;tab&amp;#039;&amp;#039;N&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; – wikitext for each tab. Accepts wikitext; remember, it won&amp;#039;t create your link for you. Each tab is numbered, e.g. &amp;lt;code&amp;gt;tab1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;tab2&amp;lt;/code&amp;gt;, etc. You can have as many or as few tabs as you would like.&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;active&amp;#039;&amp;#039;&amp;#039; – which tab is the active tab. Use the number of the tab, and that number tab will be highlighted. If you are creating a template using this template, it is recommended you set &amp;lt;code&amp;gt;active = {{{active|}}}&amp;lt;/code&amp;gt; so that the other template can then define the value. &lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname = Portal!&lt;br /&gt;
| wrc = no&lt;br /&gt;
| themecolor = #abcdef&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| tab2 = [[News]]&lt;br /&gt;
| tab3 = [[Babel]]&lt;br /&gt;
| active = 2&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname = Portal!&lt;br /&gt;
| wrc = no&lt;br /&gt;
| themecolor = #abcdef&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| tab2 = [[News]]&lt;br /&gt;
| tab3 = [[Babel]]&lt;br /&gt;
| active = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Subtabs ===&lt;br /&gt;
It is possible under each tab to have subtabs. These are represented as listed links. Note that the &amp;#039;&amp;#039;&amp;#039;active&amp;#039;&amp;#039;&amp;#039; parameter only applies to whichever &amp;#039;&amp;#039;main&amp;#039;&amp;#039; tab is active. Subtabs do not indicate active state, other than being bolded text instead of a plain link.&lt;br /&gt;
&lt;br /&gt;
Subtabs are defined like this: &amp;#039;&amp;#039;&amp;#039;subtab&amp;#039;&amp;#039;N&amp;#039;&amp;#039;-&amp;#039;&amp;#039;X&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039;, where &amp;#039;&amp;#039;N&amp;#039;&amp;#039; is the number tab, and &amp;#039;&amp;#039;X&amp;#039;&amp;#039; is the number subtab.&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Note&amp;#039;&amp;#039;&amp;#039; that subtab navigation is not shown unless the applicable tab is active. In other words, if you are on tab 2, the subnavigation for tab 1 will be invisible.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname = Portal!&lt;br /&gt;
| wrc = no&lt;br /&gt;
| themecolor = #abcdef&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| subtab1-1 = [[About]]&lt;br /&gt;
| tab2 = [[News]]&lt;br /&gt;
| subtab2-1 = [[News]]&lt;br /&gt;
| subtab2-2  = [[Newsletter]]&lt;br /&gt;
| subtab2-3 = [[Reports]]&lt;br /&gt;
| tab3 = [[Babel]]&lt;br /&gt;
| active = 2&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname = Portal!&lt;br /&gt;
| wrc = no&lt;br /&gt;
| themecolor = #abcdef&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| subtab1-1 = [[About]]&lt;br /&gt;
| tab2 = [[News]]&lt;br /&gt;
| subtab2-1 = [[News]]&lt;br /&gt;
| subtab2-2  = [[Newsletter]]&lt;br /&gt;
| subtab2-3 = [[Reports]]&lt;br /&gt;
| tab3 = [[Babel]]&lt;br /&gt;
| active = 2&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Tab icons ===&lt;br /&gt;
You can specify icons through &amp;#039;&amp;#039;&amp;#039;icon1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;icon2&amp;#039;&amp;#039;&amp;#039;, etc. Be sure to use full image syntax; i.e., not just the name of the image.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname = Portal!&lt;br /&gt;
| wrc = no&lt;br /&gt;
| icon1 = [[File:Home free icon.svg|x25px|link=]]&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| active = 1&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname = Portal!&lt;br /&gt;
| wrc = no&lt;br /&gt;
| icon1 = [[File:Home free icon.svg|x25px|link=]]&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| active = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Custom header styles ===&lt;br /&gt;
You can specify custom CSS styles using the &amp;#039;&amp;#039;&amp;#039;headerstyle&amp;#039;&amp;#039;&amp;#039; parameter. Accepts CSS-type style parameters, separated by semicolons.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname=This is an abomination&lt;br /&gt;
| themecolor=#ff0000&lt;br /&gt;
| headerstyle = font-family:&amp;#039;Comic Sans MS&amp;#039;, monotype; color: turquoise;&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| tab2 = [[About]]&lt;br /&gt;
| tab3 = [[News]]&lt;br /&gt;
| active = 1&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{Portal navigation&lt;br /&gt;
| portalname=This is an abomination&lt;br /&gt;
| themecolor=#ff0000&lt;br /&gt;
| headerstyle = font-family:&amp;#039;Comic Sans MS&amp;#039;, monotype; color: turquoise;&lt;br /&gt;
| tab1 = [[Home]]&lt;br /&gt;
| tab2 = [[About]]&lt;br /&gt;
| tab3 = [[News]]&lt;br /&gt;
| active = 1&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
(Please do not abuse this feature.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;[[Category:Header templates]] [[Category:Portal namespace templates]]&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Miraheze &gt;Rodejong</name></author>
	</entry>
</feed>