Category:Templates: Difference between revisions

From Xen
Jump to navigationJump to search
(Add link to <syntaxhighlight> documentation)
(Added some common lang attributes)
 
(One intermediate revision by the same user not shown)
Line 44: Line 44:
}}<br>{{Trail|Code|
}}<br>{{Trail|Code|
* [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight <syntaxhighlight>]
* [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|Niceline}}

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)