Wiktenauer logo.png

Difference between revisions of "Template:Pageph"

From Wiktenauer
Jump to navigation Jump to search
Line 4: Line 4:
 
{{{!}} style="margin: 0 auto 0 auto;"
 
{{{!}} style="margin: 0 auto 0 auto;"
 
{{!}}-  
 
{{!}}-  
{{!}} style="width: 38px; height: 48px; border: 1px solid #979fb0;" {{!}}
+
{{!}} style="width: 33px; height: 48px; border: 1px solid #979fb0;" {{!}}
 
{{!}}}
 
{{!}}}
 
{{!}}}<noinclude>
 
{{!}}}<noinclude>
 
{{documentation|Template:Page/doc}}
 
{{documentation|Template:Page/doc}}
 
</noinclude>
 
</noinclude>

Revision as of 21:36, 24 June 2020

[edit] [history] [purge] Documentation icon Template documentation

Old documentation

Replace the standard [[page:PageName.png|Num]] with {{page|PageName.png|Num}} once a page has been translated. It turns the link in the Index page from green to blue.

Num → {{page|PageName.png|Num}}

(There doesn't seem to be a way to make this function automatic, since there's no parser function that can tell if a translation exists other than {{#ifexist:}}, an expensive function that can only be used 100 times on any given page (making it unusable for any Index with more than a hundred scans).)