Category:Templates: Difference between revisions
From Xen
Jump to navigationJump to search
Lars.kurth (talk | contribs) No edit summary |
Lars.kurth (talk | contribs) (Added some common lang attributes) |
||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Trailbox|Templates|Templates |
|||
{{sidebar |
|||
|{{Trail|The Basics| |
|||
| name = Template |
|||
⚫ | |||
}} |
|||
| outertitlestyle = text-align: left; |
|||
| headingstyle = text-align: left; |
|||
| contentstyle = text-align: left; |
|||
| heading1 = Help |
|||
⚫ | |||
}} |
}} |
||
Line 25: | Line 20: | ||
* {{Demo|Tick}} |
* {{Demo|Tick}} |
||
* {{Demo|Warn}} |
* {{Demo|Warn}} |
||
* {{Demo|Sortable}} |
|||
}}|{{Trail|Words| |
}}|{{Trail|Words| |
||
* {{tlb|Cl|arg}} displays {{Cl|arg}} |
* {{tlb|Cl|arg}} displays {{Cl|arg}} |
||
Line 30: | Line 26: | ||
* {{tlb|Tlb|templ|arg1}} displays {{Tlb|templ|arg1}} |
* {{tlb|Tlb|templ|arg1}} displays {{Tlb|templ|arg1}} |
||
* Other <b>tl*</b> templates: {{tlb|Tl2}}, {{tlb|Tla}}, {{tlb|Tlc}}, {{tlb|Tld}}, {{tlb|Tlf}}, {{tlb|Tlg}}, {{tlb|Tlp}}, {{tlb|Tls}}, {{tlb|Tlsp}}, {{tlb|Tlsu}}, {{tlb|Tlsx}}, {{tlb|Tlu}}, {{tlb|Tlx}}, {{tlb|Tlxb}}, {{tlb|Tlxi}} and {{tlb|Tlxs}} |
* Other <b>tl*</b> templates: {{tlb|Tl2}}, {{tlb|Tla}}, {{tlb|Tlc}}, {{tlb|Tld}}, {{tlb|Tlf}}, {{tlb|Tlg}}, {{tlb|Tlp}}, {{tlb|Tls}}, {{tlb|Tlsp}}, {{tlb|Tlsu}}, {{tlb|Tlsx}}, {{tlb|Tlu}}, {{tlb|Tlx}}, {{tlb|Tlxb}}, {{tlb|Tlxi}} and {{tlb|Tlxs}} |
||
'''Formatting'''<br> |
|||
⚫ | |||
}}|{{Trail|Phrases| |
}}|{{Trail|Phrases| |
||
* {{tlb|Demo|arg}} |
* {{tlb|Demo|arg}} |
||
* {{tlb|Pad}} |
* {{tlb|Pad}} |
||
* {{tlb|Spaces}} |
* {{tlb|Spaces}} |
||
}}|{{Trail| |
}}|{{Trail|Other Formatting| |
||
* {{tlb|Button|url |
* {{tlb|Button|url|styles}} |
||
* {{tlb|Category|cat}} displays {{Category|cat}} |
|||
⚫ | |||
⚫ | |||
}} |
|||
}} |
}} |
||
{{Trailbox|Formatting Paragraphs| |
{{Trailbox|Formatting Paragraphs|Template_Formatting_2 |
||
|{{Trail|Paragraphs| |
|{{Trail|Paragraphs| |
||
* {{tlb|Anchor}} |
* {{tlb|Anchor}} |
||
* {{tlb|Indent}} |
* {{tlb|Indent}} |
||
}}<br>{{Trail|Code| |
|||
* [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight <syntaxhighlight>] |
|||
* [https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight_GeSHi.lexers.php <syntaxhighlight lang="...">] |
|||
''Common useful lang attributes for this wiki are <b>asm</b>, <b>sh</b>, <b>c</b>, <b>diff</b> and <b>kconfig</b>.'' |
|||
}}|{{Trail|Divisions & Breaks| |
}}|{{Trail|Divisions & Breaks| |
||
* {{tlb|Niceline}} |
|||
* {{tlb|Morebar}} |
|||
* {{tlb|-}} |
* {{tlb|-}} |
||
* {{tlb|Clear}} |
* {{tlb|Clear}} |
||
Line 52: | Line 56: | ||
* {{tlb|Bottom}} |
* {{tlb|Bottom}} |
||
}}|{{Trail|Annotations| |
}}|{{Trail|Annotations| |
||
⚫ | |||
* {{tlb|Action}} |
* {{tlb|Action}} |
||
* {{tlb|Foot|arg}} displays {{Foot|arg}} |
|||
* {{tlb|Footnote|arg}} displays {{Footnote|arg}} |
|||
* {{tlb|Comment}} |
|||
* {{tlb|Vote}} |
* {{tlb|Vote}} |
||
* {{tlb|VoteNo}} |
* {{tlb|VoteNo}} |
||
* {{tlb| |
* {{tlb|Resolution}} |
||
}}}} |
}}}} |
||
Line 93: | Line 99: | ||
* {{tlb|Project}} |
* {{tlb|Project}} |
||
* {{tlb|GSoC Project}} |
* {{tlb|GSoC Project}} |
||
}}<br> |
|||
{{Trail|Table Classes| |
|||
You can use these CSS classes in [http://www.mediawiki.org/wiki/Help:Tables#class.3D.22wikitable.22 mediawiawiki tables]. |
|||
* class <em>prettytable</em> |
|||
* class <em>shadedtable</em> |
|||
* class <em>wikitable</em> |
|||
* class <em>zebra</em> |
|||
* [[Table Style Examples]] |
|||
Additional attributes |
|||
* class <em>sortable</em> |
|||
* class <em>fullwidth</em> |
|||
}} |
}} |
||
}} |
}} |
Latest revision as of 13:16, 10 August 2016
Templates
|
Formatting Text
|
|
|
|
Formatting Paragraphs
|
|
|
|
Boxes
|
|
|
|
Credits
Please note that many of the templates are imported from MediWiki and Wikipedia under wikipedia:CC BY 3.0. Also note that not all dependent templates have been imported. In some cases template documentation is missing: in that case, check Wikipedia and you should find a good set of documents. |
Subcategories
This category has the following 2 subcategories, out of 2 total.
Pages in category "Templates"
The following 200 pages are in this category, out of 231 total.
(previous page) (next page)B
C
- Template:Cat handler
- Template:Category handler
- Template:Category handler/blacklist
- Template:Category handler/numbered
- Template:Category other
- Template:Category see also
- Template:Cl
- Template:Clarify
- Template:Clear
- Template:Cmbox
- Template:Code
- Template:Col-begin
- Template:Col-end
- Template:Colors
- Template:Comment
- Template:Current
D
- Template:Dated maintenance category
- Template:Db doc
- Template:Db-g1
- Template:Db-g3
- Template:Db-meta
- Template:Demo
- Template:DesignSession
- Template:Distro Resources/Line
- Template:Dmbox
- Template:DMCA
- Template:Documentation
- Template:Documentation subpage
- Template:Documentation/core
- Template:Documentation/core2
- Template:Documentation/docspace
- Template:Documentation/end box
- Template:Documentation/end box2
- Template:Documentation/template page
F
H
I
L
M
N
O
P
- Template:Pad
- Template:Pagelist
- Template:Pagetype
- Template:Para
- Template:Pgn
- Template:Pgn/core
- Template:Pipe
- Template:Plural
- Template:POV
- Template:Pp-dispute
- Template:Pp-meta
- Template:Pp-move-dispute
- Template:Pp-move-vandalism
- Template:Pp-semi-blp
- Template:Pp-semi-usertalk
- Template:Pp-template
- Template:Pp-usertalk
- Template:Pp-vandalism
- Template:Project
- Template:ProjectComplete
- Template:Purge
- Template:Px
S
T
- Template:Tag
- Template:Talk other
- Template:Td
- Template:Template
- Template:Template doc
- Template:Template notes
- Template:Template other
- Template:Template shortcut
- Template:Tfm
- Template:Tfm-inline
- Template:Tick
- Template:Tim
- Template:Time ago
- Template:Tiw
- Template:Tl
- Template:Tl2
- Template:Tla
- Template:Tlb
- Template:Tlc
- Template:Tld
- Template:Tlf
- Template:Tlg
- Template:Tlp
- Template:Tls
- Template:Tlsp
- Template:Tlsu
- Template:Tlsx
- Template:Tlu
- Template:Tlx
- Template:Tlxb
- Template:Tlxi
- Template:Tlxs
- Template:Tmbox
- Template:Tmbox/core
- Template:Tnavbar-header
- Template:Tnavbar-navframe