Revision as of 15:52, 20 December 2014 view sourceEdokter (talk | contribs)Extended confirmed users55,830 edits Undid revision 638894921 by Sardanaphalus (talk) Rv due to spacing and line-height issues. Please propose on talk page first.← Previous edit | Latest revision as of 15:15, 13 May 2024 view source Jonesey95 (talk | contribs)Autopatrolled, Extended confirmed users, Page movers, Mass message senders, Template editors375,838 edits Fix Linter errors. | ||
(61 intermediate revisions by 30 users not shown) | |||
Line 1: | Line 1: | ||
<templatestyles src="Village pump page header/styles.css" /> | |||
<div style="margin:4px auto;"> | |||
<div class="vph"> | |||
{{Start |
{{Start tab | ||
|frame=yes |nowrap=yes | |frame=yes |nowrap=yes | ||
|border=2px solid # |
|border=2px solid #BFBAA3 |rounding=4px | ||
|off tab color=# |
|off tab color=#FFFBE6 |on tab color=#F2ECCE | ||
|tab alignment= |image-= |tab font-size= |tab spacing percent= |preums= | |tab alignment= |image-= |tab font-size= |tab spacing percent= |preums= | ||
|tab-1=] |link-1=Misplaced Pages:Village pump (policy) |freeform-1=yes | |tab-1=] |link-1=Misplaced Pages:Village pump (policy) |freeform-1=yes | ||
|tab-2=] |link-2=Misplaced Pages:Village pump (technical) |freeform-2=yes | |tab-2=] |link-2=Misplaced Pages:Village pump (technical) |freeform-2=yes | ||
|tab-3=] |link-3=Misplaced Pages:Village pump (proposals) |freeform-3=yes | |tab-3=] |link-3=Misplaced Pages:Village pump (proposals) |freeform-3=yes | ||
|tab-4=] |link-4=Misplaced Pages:Village pump (idea lab) |freeform-4=yes | |tab-4=] |link-4=Misplaced Pages:Village pump (idea lab) |freeform-4=yes | ||
|tab-5=] |link-5=Misplaced Pages:Village pump ( |
|tab-5=] |link-5=Misplaced Pages:Village pump (WMF) |freeform-5=yes | ||
|tab-6=] |link-6=Misplaced Pages:Village pump (miscellaneous)|freeform-6=yes | |||
}} | }} | ||
{{flatlist|style=text-align:center;|1= | |||
<ul> | |||
<li class="nomobile vph-skiptotoc">]</li> | |||
<li>]</li> | |||
<li class="nomobile">]</li> | |||
* {{edit|{{FULLPAGENAME}}|section=new|New post}} | |||
<li>]</li> | |||
⚫ | |||
</ul> | |||
}}<!-- end of {{flatlist}} | |||
--><div class="vph-body"> | |||
⚫ | <div class="vph-contents"><includeonly>{{#if:{{{3|}}} | {{Shortcuts|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}} | }}</includeonly><noinclude>{{Shortcuts|msg=] <br/>{{{3}}} <br/> <br/>{{{6}}}</noinclude>}} {{{2|<noinclude>'''''This is where any text supplied as {{{2}}} (the second parameter) appears.''' {{Lorem ipsum|join=yes}}''</noinclude>}}}<!-- | ||
show stats only on talk pages -->{{Talk other|{{Annual readership}}{{section sizes|1=Misplaced Pages:{{PAGENAME}}}}}} | |||
{| style="margin:0 auto 0.5em;width:100%;padding:0.2em;border-collapse:collapse;border:2px solid #bfb1a3;border-top:0;background:#eee9d9;text-align:center;" | |||
⚫ | {{#if:{{{center|}}} |{{{center}}}}} | ||
|- | |||
<div style="text-align:center;">]{{Village pump archives|start={{{start|{{max|1|{{#expr:{{#invoke:Archive list|count}} - 20}}}}}}}}}</div> | |||
⚫ | |||
⚫ | </div> | ||
|- | |||
</div><!-- end of vph-contents --> | |||
⚫ | {{#if:{{{center|}}} | | ||
<div class="vph-search"> | |||
<div> | |||
{{!}} {{{center}}} | |||
⚫ | <inputbox> | ||
}} | |||
type=fulltext | |||
|- | |||
prefix=Misplaced Pages:{{BASEPAGENAME}} | |||
| ]{{Villagepumparchives|start={{{start|}}}}} | |||
break=no | |||
|- | |||
width=35 | |||
⚫ | |||
placeholder = Search this page & its archives | |||
searchbuttonlabel = Search | |||
</inputbox> | |||
</div> | |||
<div> | |||
<inputbox> | |||
type=fulltext | type=fulltext | ||
prefix=Misplaced Pages:Village pump | prefix=Misplaced Pages:Village pump | ||
break=no | break=no | ||
width= |
width=35 | ||
placeholder = Search all village pumps & archives | |||
searchbuttonlabel = Search | |||
</inputbox> | </inputbox> | ||
⚫ | |||
</div> <!-- end of vph-search --> | |||
</div> <!-- end of vph-body --> | |||
{{End tab}}<!-- As per docs of {{End tab}}, it is needed, because {{Start tab}} at the top uses |frame=yes --> | |||
</div><!-- close div vph from the first line | |||
--><noinclude> | |||
⚫ | {{Documentation}} | ||
</noinclude> |
Latest revision as of 15:15, 13 May 2024
Policy | Technical | Proposals | Idea lab | WMF | Miscellaneous |
- Shortcuts
{{{3}}}
{{{6}}}
This template uses TemplateStyles: |
Usage
{{Village pump page header|section title|intro text|shortcut link 1|shortcut link 2|shortcut link 3|shortcut link 4}}
Shortcut links
Currently supports up to 4 shortcut link. The alpha parameter, if set, will trigger the inclusion of alphabetic archives before the numeric archives, where they exist.
Color settings
The color scheme of this box uses four color shades from one basic color. In accordance with Main page colors (as is explained at Help:Colour), they are used as follows:
- #bfb1a3 (darkest) border of the header
- #eee9d9 (2nd darkest), background of header and selected tab
- #fffaea (lightest color): background of the non-selected tabs
See also
For related Misplaced Pages header templates, see Template messages/Project namespace.
The above documentation is transcluded from Template:Village pump page header/doc. (edit | history)Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template. Categories: