Difference between revisions of "Template:Image"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Jdenm8
m (37 revisions imported)
 
(84 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<span class="plainlinks" {{#if:{{{width|}}}|id="{{{width}}}"}}>{{#if:{{{page|}}}{{{url|}}}|<!-- page or url parameters set
+
<noinclude>
 +
{{pp-template}}
 +
</noinclude>
  
-->{{#if:{{{page|}}}|<!--
+
<!-- For reference, {{{1}}} is the image's path.-->
      page parameter set -->[{{fullurl:{{{page}}}}} {{{1}}}]|<!--
+
 
      url parameter set  -->[{{{url}}} {{{1}}}]}}<!--
+
<div class="plainlinks" {{#if:{{{width|}}}|class="{{{width}}}"}}>
      neither set       -->|{{{1}}}}}</span>
+
 
 +
{{#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>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 15:20, 7 August 2019




[create] Documentation icon Template documentation