Templates list

From Synfig Studio :: Documentation
Revision as of 14:14, 20 April 2017 by D.j.a.y (Talk | contribs) (better title)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Navigation Navigation:  <<Writer Documentation

Here's a list of templates used to improve this wiki functionality.

User Templates

Those templates can (and often should) be used in page body.


  • Location: Template:C
  • Description: This template should always be used to ‘wrap’ items from the context menu GUI.
  • Examples: {{c|File|Open File}} is interpreted as "File → Open File"


  • Location: Template:Category
  • Description: Specifies category page belongs to.
  • Examples: {{Category|MyCategory}}.


  • Location: Template:CategoryContents
  • Description: Lists all pages in the specified category. Output is localized, so if you use {{CategoryContents|Example}} on Spanish page, you will automatically get content of Example/es category and the page titles will be replaced with their Spanish translations.
  • Examples: {{CategoryContents|MyCategory}}.


  • Location: Template:L
  • Description: Creates link to another page, providing proper localization support.
  • Examples: See Meta:LinksTest/ru.


  • Location: Template:Literal
  • Description: This template should always be used to ‘wrap’ all reference to GUI items (control name, menu item, …).
  • Examples: {{Literal|Open File|New}} is interpreted as "Open File"


  • Location: Template:Navigation
  • Description: Defines navigation for sequence of pages and displays navigation bar. You need only to specify parent (index) page and next page (optional). There's no need to specify previous page, because it's determined automatically. Works only within the range of namespace though.
  • Examples: For result see the header from those page, or result example code {{Navigation|Top Page|Next Page}} :
Navigation Navigation:  <<Top Page>>


  • Location: Template:Note
  • Description: This template gives a box of fixed width. First argument is header for note and second a main content of note.
  • Examples: {{Note|Note title|Short note text}} See in ex. Getting Started or note from example:

Note title

Short note text
note end


  • Location: Template:Shortcut
  • Description: Put a sequence of up to 5 keys to show a shortcut.
  • Examples: {{Shortcut|Alt|Shift|t}} is interpreted as Alt⇧ ShiftT


  • Location: Template:Stub
  • Description: Mark page as a stub.
  • Examples: {{Stub}}.



  • Location: Template:TOCright
  • Description: Set the Table Of Content to the right side of the page.
  • Examples: {{TOCright}}. Mainly on every pages. Please use it when the page's TOC start to fill too much space.

Internal Templates

Templates below are not intended for direct use in page body. They are usually invoked by high-level templates listed above.


  • Location: Template:!
  • Description: This is an auxiliary template allowing one to encode "|"

within template and parser function parameters. More...

  • Examples:
Code: Result: Comments:
{{!}} |


  • Location: Template:GetTitle
  • Description: Returns custom title of a page set with {{Title}} template in the page body.
  • Examples:
Code: Result: Comments:
{{GetTitle|Doc:Getting_Started/ru}} Первые шаги Look at the source of Doc:Getting_Started/ru page.


  • Location: Template:Languages
  • Description: Displays bar listing available translations for current page. More...
  • Examples: {{{Languages}}}


  • Location: Template:Languages/Lang
  • Description: Utility template for language bar. Generates link to specified translation of current page if it's exists.
  • Examples:
Code: Result: Comments:
{{Languages/Lang|en}} English Result is "English", but without a link, because current page is in English
{{Languages/Lang|es}} Result is empty, because this page have no Spanish translation. If it does, then the result would be: " • Español"
{{Languages/Lang|ru}} Result is empty, because this page have no Russian translation. If it does, then the result would be: " • Русский"


Code: Result: Comments:
{{Languages/ThisPageTranslatedIn|en}} Meta:Templates If this template invoked from Meta:Templates/es, then result is the same ("/es" suffix automatically dropped)
{{Languages/ThisPageTranslatedIn|ru}} Meta:Templates/ru If this template invoked from Meta:Templates/es, then result is the same ("/es" suffix automatically dropped and "/ru" suffix added)



Code: Result: Comments:
{{PagenameFromLink|Doc:Getting_Started#Introduction}} Doc:Getting_Started
{{PagenameFromLink|layers}} Layers
{{PagenameFromLink|:Category:Manual}} Category:Manual



Warning banners


  • Location: Template:Warnings
  • Description: Contains list of displayed warning banners and conditions for them