You are not currently logged in. Are you accessing the unsecure (http) portal? Click here to switch to the secure portal. |
Difference between revisions of "Template:Pageph"
Jump to navigation
Jump to search
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{{!}} class="index" | {{{!}} class="index" | ||
{{!}}+ {{#switch: {{{2|}}} | Blk | Cvr | — = <span class="blank">{{{2|}}}</span> | {{#if: {{{blk|}}} | <span class="blank">{{{2|}}}</span> | {{{2|}}} }} }} | {{!}}+ {{#switch: {{{2|}}} | Blk | Cvr | — = <span class="blank">{{{2|}}}</span> | {{#if: {{{blk|}}} | <span class="blank">{{{2|}}}</span> | {{{2|}}} }} }} | ||
− | {{!}} | + | {{!}} style="padding: 0;" {{!}} |
− | {{{!}} style="margin | + | {{{!}} style="margin: 0 auto 0 auto;" |
{{!}}- | {{!}}- | ||
− | {{!}} style="width: | + | {{!}} style="{{#if: {{{h|}}} | width: 48px; height: 33px; | width: 33px; height: 48px;}} border: 1px solid #979fb0;" {{!}} |
{{!}}} | {{!}}} | ||
{{!}}}<noinclude> | {{!}}}<noinclude> | ||
{{documentation|Template:Page/doc}} | {{documentation|Template:Page/doc}} | ||
</noinclude> | </noinclude> |
Latest revision as of 03:48, 3 April 2024
|
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).)
The above documentation is transcluded from Template:Page/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |