Difference between revisions of "Template:Image"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>JoeST
m (testing)
m (37 revisions imported)
 
(184 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<div class="ext-img">{{{1}}}</div>
+
<noinclude>
 +
{{pp-template}}
 +
</noinclude>
 +
 
 +
<!-- For reference, {{{1}}} is the image's path.-->
 +
 
 +
<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




[create] Documentation icon Template documentation