Difference between revisions of "Meta:Templates"

From Synfig Studio :: Documentation
Jump to: navigation, search
(PagenameFromLink template description)
 
(Description of GetTitle Template)
Line 1: Line 1:
 +
== Title ==
 +
...
 +
 +
== GetTitle ==
 +
* '''Location''': {{l|Template:GetTitle}}
 +
* '''Description''': Returns custom title of a page set with <nowiki>{{Title}}</nowiki> template in the page body.
 +
* '''Examples''':
 +
{| width="100%"
 +
|+
 +
|'''Code:'''
 +
|'''Result:'''
 +
|'''Comments:'''
 +
|-
 +
|<nowiki>{{GetTitle|Doc:Getting_Started/ru}}</nowiki>
 +
|Первые шаги
 +
|Look at the source of [[Doc:Getting_Started/ru]] page.
 +
|}
 +
 
== PagenameFromLink ==
 
== PagenameFromLink ==
 
* '''Location''': {{l|Template:PagenameFromLink}}
 
* '''Location''': {{l|Template:PagenameFromLink}}
 
* '''Description''': Extracts page name from given link.  
 
* '''Description''': Extracts page name from given link.  
 
* '''Examples''':
 
* '''Examples''':
{|
+
{| width="100%"
 
|+  
 
|+  
 
|'''Code:'''
 
|'''Code:'''
 
|'''Result:'''
 
|'''Result:'''
 +
|'''Comments:'''
 
|-
 
|-
 
|<nowiki>{{PagenameFromLink|Doc:Getting_Started#Introduction}}</nowiki>  
 
|<nowiki>{{PagenameFromLink|Doc:Getting_Started#Introduction}}</nowiki>  

Revision as of 11:14, 13 January 2010

Title

...

GetTitle

  • 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.

PagenameFromLink

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