Difference between revisions of "Category:Templates"

From Xen
(Added some common lang attributes)
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
  +
{{Trailbox|Templates|Templates
{{sidebar
 
  +
|{{Trail|The Basics|
| name = Template
 
  +
* [http://www.mediawiki.org/wiki/Help:Templates Help on Templates]
 
  +
}}
| outertitlestyle = text-align: left;
 
| headingstyle = text-align: left;
 
| contentstyle = text-align: left;
 
 
| heading1 = Help
 
| content1 = [http://www.mediawiki.org/wiki/Help:Templates On Templates]
 
 
}}
 
}}
   
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 36: Line 32:
 
}}|{{Trail|Other Formatting|
 
}}|{{Trail|Other Formatting|
 
* {{tlb|Button|url|styles}}
 
* {{tlb|Button|url|styles}}
  +
* {{tlb|Category|cat}} displays {{Category|cat}}
 
* {{tlb|Colors}}
 
* {{tlb|Colors}}
  +
* {{tlb|More|url}}
 
}}
 
}}
 
}}
 
}}
Line 44: Line 42:
 
* {{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|Comment}}
 
 
* {{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|Motion}}
+
* {{tlb|Resolution}}
 
}}}}
 
}}}}
   
Line 103: Line 109:
 
Additional attributes
 
Additional attributes
 
* class <em>sortable</em>
 
* class <em>sortable</em>
* class <em>fulwidth</em>
+
* class <em>fullwidth</em>
 
}}
 
}}
 
}}
 
}}

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)