Misplaced Pages

Template:Style: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editContent deleted Content addedVisualWikitext
Revision as of 18:27, 6 July 2011 view sourceGnevin (talk | contribs)Extended confirmed users26,261 edits fix← Previous edit Latest revision as of 06:06, 23 November 2024 view source JuxtaposedJacob (talk | contribs)Extended confirmed users, Pending changes reviewers2,351 edits reflecting edits t Template:Manual of Style made by @NikkiMaria 
(110 intermediate revisions by 53 users not shown)
Line 1: Line 1:
{{Sidebar with collapsible lists
{| class="infobox" style="width:15em; text-align:center; border:1px solid #aaaaaa; padding:5px; font-size: 85%; width: 220px;"
| name = Style
! style="padding:0.2em; border solid thin #0000CC; text-align:center; margin-bottom:5px; font-size:larger;" |]
| bodyclass = hlist
|- valign="top"
| title = ]
|
<inputbox> | image = <inputbox>
id = style-searchbox
type=fulltext
type = fulltext
width=24
width = 25
prefix=Misplaced Pages:Manual of Style
prefix = Misplaced Pages:Manual of Style
searchbuttonlabel=Search the MoS
searchbuttonlabel = Search the MoS
break=no
break = yes
</inputbox> </inputbox>
| listtitlestyle = background-color: #def; color:black; padding-left: 2px;
<div class="NavFrame">
| expanded =
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]</div>
{{#switch:{{{expanded|{{{selected|{{{1|}}}}}}}}}
<div class="NavContent" style="text-align:left;display:none;">
|arts |regional |religion |science |sports|sport = by topic area <!--(see list7 below)-->
|#default = {{{expanded|{{{selected|{{{1|}}}}}}}}}
}}


| list1name = content
{| width=100% style="text-align:center;"
| list1title = ]
|-
| list1 =
| style="white-space: nowrap;" |
* ]
| ] • ] • ] • ] • ] • ] • ] • ]
* ]
|-
* ]
|}
** ]
* ]
* ]
* ]
* ]
* ]
* ]


| list2name = formatting
</div>
| list2title = ]
</div>
| list2 =
* ]
* ]
* ]
* ]
* ]
* ]
* ]


| list3name = images
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;">] | list3title = ]
| list3 =
</div>
* ]
<div class="NavContent" style="text-align:left;display:none;">
* ]
* ]
* ]


| list4name = layout
{| width=100% style="text-align:center;"
| list4title = ]
|-
| list4 =
| style="white-space: nowrap;" |
* ]
| ] • ] • ] • ] • ] • ] • ] • ]
* ]
|-
* ]
|}
* ]


| list5name = lists
</div>
| list5title = ]
</div>
| list5 =
* ]
* ]
* ]
* ]


<!----------- By topic area ----------->
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]
</div>
<div class="NavContent" style="text-align:left;display:none;">


{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ] • ] • ] • ] • ] • ] • ]
|-
|}


</div>
</div>


| list6name = by topic area
<div class="NavFrame">
| list6title = By topic area
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]
| list6 =
</div>
{{Sidebar with collapsible lists
<div class="NavContent" style="text-align:left;display:none;">
| navbar = off
| listtitlestyle = background-color: #def; color:black; padding-left: 2px;
| bodystyle = {{subinfobox bodystyle}}
| expanded = {{{expanded|{{{selected|{{{1|}}}}}}}}}
| content1 =
----


{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ]
|-
|}


| list1name = legal
</div>
| list1title = ]
</div>
| list1 =
* ]
* ]


| list2name = arts
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ] | list2title = ]
| list2 =
</div>
{{Sidebar| bodystyle = {{subinfobox bodystyle}}
<div class="NavContent" style="text-align:left;display:none;">
| navbar = off
| content1 =
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
| heading2 = ]
| content2 =
* ]
* ]
* ]
* ]
}}


| list3name = military history
{| width=100% style="text-align:center;"
| list3title = ]
|-
| list3 =
| style="white-space: nowrap;" |
* ]
| ] • ] • ] • ] • ]
* ]
|-
|}


| list4name = regional
</div>
| list4title = ]
</div>
| list4 =
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]
* ]


| list5name = religion
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ] | list5title = ]
| list5 =
</div>
* ]
<div class="NavContent" style="text-align:left;display:none;">
* ]


| list6name = science
{| width=100% style="text-align:center;"
| list6title = ]
|-
| list6 =
| style="white-space: nowrap;" |
* ]
| ] • ] • ] • ]
** ]
|-
** ]
|}
** ]
** ]
** ]
* ]
* ]
* ]
* ]


| list7name = sports
</div>
| list7title = ]
</div>
| list7 =
* ] (])
* ] (])
| content7 =
----
}}


<!------------------------------------->
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]
</div>
<div class="NavContent" style="text-align:left;display:none;">


| list8name = related
{| width=100% style="text-align:center;"
| list8title = ]
|-
| list8 =
| style="white-space: nowrap;" |
* ]
| ] • ]
* ]
|-
* ]
|}
* ]
* ]
* ]
* ]


| below =
</div>
* ]
</div>
* ]

* ]
<div class="NavFrame">
}}<noinclude>
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]</div>
{{Documentation}}
<div class="NavContent" style="text-align:left;display:none;">
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here -->

</noinclude>
{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ] • ]
|-
|}

</div>
</div>
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;">]
</div>
<div class="NavContent" style="text-align:left;display:none;">

{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ] • ] • ] • ] • ] • ]
|-
|}

</div>
</div>
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]
</div>
<div class="NavContent" style="text-align:left;display:none;">

{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ]
|-
|}

</div>
</div>
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]
</div>
<div class="NavContent" style="text-align:left;display:none;">

{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ] • ] • ] • ]
|-
|}

</div>
</div>
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> ]
</div>
<div class="NavContent" style="text-align:left;display:none;">

{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ] • ]
|-
|}
</div>
</div>
<div class="NavFrame">
<div class="NavHead" style="font-size: 120%; background: Lavender;"> Related guidelines
</div>
<div class="NavContent" style="text-align:left;display:none;">

{| width=100% style="text-align:center;"
|-
| style="white-space: nowrap;" |
| ] • ] • ] • ] • ] • ] • ] • ] • ] • ]
|-
|}
</div>
</div>
{{navbar|Style|plain=1|style=float:right}}
|}

Latest revision as of 06:06, 23 November 2024

Manual of Style (MoS)

Content
Formatting
Images
Layout
Lists
By topic area
Legal
Arts
Music
History
Regional
Religion
Science
Sports
Related guidelines
Template documentation[view] [edit] [history] [purge]
This template should not be substituted.

The {{Style}} template is used on pages belonging to the Manual of Style.

Place this sidebar template at the top of pages relevant to the Manual of Style.

Collapsible lists

This template includes collapsible lists.

  • • To set it to display all lists when it appears (i.e. all lists expanded), use:
  •  {{Style |expanded=all}} or, if enabled, {{Style |all}}  (i.e. omitting "expanded=").
  • • To set it to display one particular list while keeping the remainder collapsed (i.e. hidden apart from their headings), use:
  •  {{Style |expanded=listname}} or, if enabled, {{Style |listname}}
  • …where listname is one of the following (do not include any quotemarks):
      • content
      • formatting
      • images
      • layout
      • lists
      • legal
      • by topic area (arts
      • regional
      • religion
      • science
      • sports)
    • related

See also

The above documentation is transcluded from Template:Style/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: