Jump to content

Template:Infobox: Difference between revisions

From Nordic Larp Wiki
m 1 revision imported
No edit summary
Tag: Reverted
Line 1: Line 1:
{{#invoke:Infobox|infobox}}<includeonly>{{template other|{{#ifeq:{{PAGENAME}}|Infobox||{{#ifeq:{{str left|{{SUBPAGENAME}}|7}}|Infobox|[[Category:Infobox templates|{{remove first word|{{SUBPAGENAME}}}}]]}}}}|}}</includeonly><noinclude>
/**
{{documentation}}
* This TemplateStyles page is separately used for [[Template:Navbar]]
<!-- Categories go in the /doc subpage, and interwikis go in Wikidata. -->
* because of course there are two versions of the same template.
</noinclude>
* Be careful when adjusting styles accordingly.
*/
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
color: var(--color-base, #202122) !important;
}
 
.navbar ul {
display: inline;
white-space: nowrap;
}
 
.navbar li {
word-spacing: -0.125em;
}
 
/* Navbar styling when nested in navbox */
.navbox .navbar {
display: block;
font-size: 100%;
}
 
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}

Revision as of 21:25, 21 October 2025

/**

* This TemplateStyles page is separately used for Template:Navbar
* because of course there are two versions of the same template.
* Be careful when adjusting styles accordingly.
*/

.navbar { display: inline; font-size: 88%; font-weight: normal; color: var(--color-base, #202122) !important; }

.navbar ul { display: inline; white-space: nowrap; }

.navbar li { word-spacing: -0.125em; }

/* Navbar styling when nested in navbox */ .navbox .navbar { display: block; font-size: 100%; }

.navbox-title .navbar { /* @noflip */ float: left; /* @noflip */ text-align: left; /* @noflip */ margin-right: 0.5em; width: 6em; }