Difference between revisions of "Template:Goto"

From Synfig Studio :: Documentation
Jump to: navigation, search
m
m (Replaced content with "Go to")
Line 1: Line 1:
{{#ifexist: {{{1}}}/{{SUBPAGENAME}} | {{{1}}}/{{SUBPAGENAME}} | {{{1}}} }}<noinclude>
+
Go to
 
+
This template is to be used on localized pages. Use it to generate a link to another pages from page with same language subpage. If the page does not exist, the link is generated to the default target page, without language subcode (english).
+
 
+
Basic link to page [[Doc:Overview]] has form:
+
 
+
<nowiki>[[Doc:Overview]]</nowiki>
+
 
+
Next example demonstrate using this template on any page with language subcode cs…
+
 
+
<nowiki>[[{{goto|Doc:Overview}}]]</nowiki>
+
 
+
# If target exist, as [[Doc:Overview/cs]], is generated link to this page.
+
# If target not exist, is generated link [[Doc:Overview]]
+
 
+
</noinclude>
+

Revision as of 17:13, 5 March 2017

Go to