]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/contrib/linguas.mdwn
Migrate escaped directives (\[[) in doc/plugins to have \[[! prefix
[ikiwiki.git] / doc / plugins / contrib / linguas.mdwn
index 204910290e6a818f549cae35c42e1752204192c3..0c336684625a304fa08206f26d041191e1907acd 100644 (file)
@@ -1,4 +1,4 @@
-[[template id=plugin name=linguas author="Jordà Polo"]]
+[[!template id=plugin name=linguas author="Jordà Polo"]]
 
 Linguas
 =======
@@ -20,14 +20,14 @@ Translatable pages and translations must have the following format:
 `pagename.$LANG`, where `$LANG` is a ISO639-1 (two-letter) language code.
 To enable linguas, add the following line in the source code of the page:
 
-       \[[linguas ]]
+       \[[!linguas ]]
 
 Note that linguas is only required in one of the pages (the original,
 for instance); the rest of translations will be automatically
 updated. Additionally, it is also possible to specify the title of
 the translation:
 
-       \[[linguas title="Translated title"]]
+       \[[!linguas title="Translated title"]]
 
 
 Template
@@ -103,4 +103,4 @@ The following fixes it:
         +               push @links, IkiWiki::htmllink($page, $destpage, $trans, noimageinline => 0, forcesubpage => 0, linktext => $link);
                 }
          
-                my $otherlinguas = 'Translations:';
\ No newline at end of file
+                my $otherlinguas = 'Translations:';