Difference between revisions of "Template:Hidden/doc"
Jump to navigation
Jump to search
imported>SMcCandlish m (→CSS: code consistency) |
|||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata | + | <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata |
| − | + | ||
| − | |||
| − | + | Generally, collapsible templates should not be used in articles. For allowable uses and other considerations, | |
| − | |||
| − | |||
| − | |||
| − | Generally, collapsible templates should not be used in articles. For allowable uses and other considerations, | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Parameters=== | ===Parameters=== | ||
| Line 34: | Line 13: | ||
; style : [[w:Cascading Style Sheets|CSS]] styling for template overall. | ; style : [[w:Cascading Style Sheets|CSS]] styling for template overall. | ||
; headerstyle : CSS styling for title (header). | ; headerstyle : CSS styling for title (header). | ||
| − | ; contentstyle | + | ; contentstyle : any nonblank value (e.g. {{para|multline|y}}) will reduce the line-height of the title and add some padding to avoid overlap with the show/hide button. |
| − | |||
| − | |||
'''Note:''' This template will not respect the [[Wikipedia:User preferences|user preference]] "justify paragraphs". | '''Note:''' This template will not respect the [[Wikipedia:User preferences|user preference]] "justify paragraphs". | ||
| Line 45: | Line 22: | ||
{| class="wikitable" | {| class="wikitable" | ||
| {{rh}} | Code | | {{rh}} | Code | ||
| − | | <pre>{{ | + | | <pre>{{Title text here|Body text line 1<br/>Body text line 2}}</pre> |
|- | |- | ||
| {{rh}} | Result | | {{rh}} | Result | ||
| Line 54: | Line 31: | ||
{| class="wikitable" | {| class="wikitable" | ||
| {{rh}} | Code | | {{rh}} | Code | ||
| − | | <syntaxhighlight lang="css" style="overflow:auto; | + | | <syntaxhighlight lang="css" style="overflow:auto; |
| − | |||
|Title text here | |Title text here | ||
|Body text line 1<br/>Body text line 2 | |Body text line 1<br/>Body text line 2 | ||
| Line 64: | Line 40: | ||
|- | |- | ||
| {{rh}} | Result | | {{rh}} | Result | ||
| − | + | |Title text here|Body text line 1<br/>Body text line 2|headerstyle=background:#ccccff|style=text-align:center;}} | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
== Issues == | == Issues == | ||
Revision as of 14:27, 2 December 2020
| This is a documentation subpage for Template:Hidden. It contains usage information, categories and other content that is not part of the original template page. |
}}</includeonly>