Category:Templates: Difference between revisions

From Xen
Jump to navigationJump to search
(Added some common lang attributes)
 
(59 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Trailbox|Templates|Templates
This category lists templates and template categories.
|{{Trail|The Basics|
{{Warning|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.}}
* [http://www.mediawiki.org/wiki/Help:Templates Help on Templates]
{{TODO|This page needs a good index}}
}}
== Formatting Text ==
}}
{{Trailbox||Template_Formatting_1

|{{Trail|Literal|
{{Trailbox|Formatting Text|Template_Formatting_1
|{{Trail|Literals & Symbols|
* {{Demo|!(}}
* {{Demo|!(}}
* {{Demo|!(}}
* {{Demo|!(}}
Line 10: Line 12:
* {{Demo|))}}
* {{Demo|))}}
* {{Demo|;}}
* {{Demo|;}}
* [[Template:=|{{((}}={{))}}]] displays {{Template:=}}
* {{((}}[[Template:=|=]]{{))}} displays {{Template:=}}
* {{Demo|\}}
* {{Demo|·}}
* {{Demo|N/a}}
* {{Demo|HalfDone}}
* {{Demo|NotDone}}
* {{Demo|Tick}}
* {{Demo|Warn}}
* {{Demo|Sortable}}
}}|{{Trail|Words|
}}|{{Trail|Words|
* {{DemoN|Cl|xx}}
* {{tlb|Cl|arg}} displays {{Cl|arg}}
* {{tlb|Tl|templ}} displays {{Tl|templ}}
}}|{{Trail||
* {{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}}
}}|{{Trail|Phrases|
* {{tlb|Demo|arg}}
* {{tlb|Pad}}
* {{tlb|Spaces}}
}}|{{Trail|Other Formatting|
* {{tlb|Button|url|styles}}
* {{tlb|Category|cat}} displays {{Category|cat}}
* {{tlb|Colors}}
* {{tlb|More|url}}
}}
}}
}}
}}


== Formatting Paragraphs ==
{{Trailbox|Formatting Paragraphs|Template_Formatting_2
{{Trailbox||Template_Formatting_1
|{{Trail|Paragraphs|
|{{Trail|Paragraphs|
* [[Template:Anchor]]
* {{tlb|Anchor}}
* {{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}}
* [[Template:-]]
* {{tlb|Morebar}}
* [[Template:Clear]]
* {{tlb|-}}
* {{tlb|Clear}}
}}|{{Trail|Tables|
}}|{{Trail|Tables|
* [[Template:Top]]
* {{tlb|Top}}
* [[Template:Mid]]
* {{tlb|Mid}}
* [[Template:Bottom]]
* {{tlb|Bottom}}
}}|{{Trail|Annotations|
* {{tlb|Action}}
* {{tlb|Foot|arg}} displays {{Foot|arg}}
* {{tlb|Footnote|arg}} displays {{Footnote|arg}}
* {{tlb|Comment}}
* {{tlb|Vote}}
* {{tlb|VoteNo}}
* {{tlb|Resolution}}
}}}}

{{Trailbox|Boxes|
|{{Trail|Special Purpose & Simple|
* {{tlb|Error}}
* {{tlb|Info}}
* {{tlb|InfoLeft}}
* {{tlb|Quotation}}
* {{tlb|Warning}}
* {{tlb|WarningLeft}}
'''Languages''':
* {{tlb|Langbox}}
* {{tlb|Languages}}
}}|{{Trail|General Purpose|
* {{tlb|Ambox}}
* {{tlb|Asbox}}
* {{tlb|Cmbox}}
* {{tlb|Dmbox}}
* {{tlb|Fmbox}}
* {{tlb|Imbox}}
* {{tlb|Ombox}}
* {{tlb|Tmbox}}
}}|{{Trail|Complex Boxes|
* {{tlb|Documentation}}
* {{tlb|Infobox}}
* {{tlb|Infobox person}}
* {{tlb|Quote box}}
* {{tlb|Navbar}}
* {{tlb|Navbox}}
* {{tlb|Side box}}
* {{tlb|Sidebar}}
* {{tlb|Trail}}
* {{tlb|Trailbox}}
}}|{{Trail|Project Boxes|
* {{tlb|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>
}}
}}
}}
}}


== Info Boxes ==
== Credits ==
<br>

{{InfoLeft|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.}}
* [[Template:Ambox]]
<br>
* [[Template:Asbox]]
{{Anchor|All}}


[[Category:Wiki Management]]
[[Category:Wiki Management]]

Latest revision as of 13:16, 10 August 2016

Templates
The Basics

Formatting Text
Literals & Symbols
  • {{!(}} displays [
  • {{!(}} displays [
  • {{((}} displays {{
  • {{))}} displays }}
  • {{;}} displays ;
  • {{=}} displays =
  • {{\}} displays  /
  • {{·}} displays  ·
  • {{N/a}} displays N/A
  • {{HalfDone}} displays
  • {{NotDone}} displays
  • {{Tick}} displays
  • {{Warn}} displays Icon Ambox.png
  • {{Sortable}} displays Sortable.gif
Words
Phrases
Other Formatting

Formatting Paragraphs
Paragraphs

Code

Common useful lang attributes for this wiki are asm, sh, c, diff and kconfig.

Divisions & Breaks
Tables
Annotations

Boxes
Special Purpose & Simple

Languages:

General Purpose
Complex Boxes
Project Boxes

Table Classes

You can use these CSS classes in mediawiawiki tables.

Additional attributes

  • class sortable
  • class fullwidth

Credits


Icon Info.png 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)
(previous page) (next page)