Difference between revisions of "Template:Image"
Jump to navigation
Jump to search
sc4e>Jdenm8 (Edited example code so that it would display explicitly.) |
m (37 revisions imported) |
||
(94 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>{{pp-template}}</noinclude> | + | <noinclude> |
− | + | {{pp-template}} | |
− | + | </noinclude> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | + | <!-- For reference, {{{1}}} is the image's path.--> | |
− | < | ||
− | -->{{#if:{{{page|}}}|<!-- | + | <div class="plainlinks" {{#if:{{{width|}}}|class="{{{width}}}"}}> |
− | + | ||
− | + | {{#if: | |
− | + | {{{page|}}}{{{url|}}}| | |
− | + | <!-- page or url parameters set --> | |
− | {{ | + | {{#if:{{{page|}}}| |
− | + | <!-- page parameter set --> | |
− | + | [{{fullurl:{{{page}}}}} {{{1}}}]| | |
− | + | <!-- url parameter set --> | |
− | + | [{{{url}}} {{{1}}}]}} | |
− | + | <!-- neither set --> | |
− | + | |{{{1}}} }} | |
+ | </div> | ||
+ | |||
+ | <noinclude> | ||
+ | {{documentation}} | ||
+ | </noinclude> |
Latest revision as of 15:20, 7 August 2019
This high-risk template has been protected from editing to prevent vandalism. See the protection policy and protection log for more details. Please discuss any changes on the talk page; you may ask an editor or a moderator to make the edit if it is supported by consensus. You may also request that this page be unprotected. |
{{{1}}}
[create] Template documentation
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |