Difference between revisions of "Template:Image"

From SC4D Encyclopaedia
Jump to navigation Jump to search
sc4e>Jdenm8
sc4e>Jdenm8
(Test to try and fix the width parameter which is currently non-functional)
Line 1: Line 1:
<span class="plainlinks" {{#if:{{{width|}}}|id="{{{width}}}"}}>{{#if:{{{page|}}}{{{url|}}}|<!-- page or url parameters set
+
<span class="plainlinks" {{#if:{{{width|}}}|width="{{{width}}}"}}>
  
-->{{#if:{{{page|}}}|<!--
+
{{#if:
      page parameter set -->[{{fullurl:{{{page}}}}} {{{1}}}]|<!--
+
    {{{page|}}}{{{url|}}}|
      url parameter set  -->[{{{url}}} {{{1}}}]}}<!--
+
<!-- page or url parameters set -->
      neither set       -->|{{{1}}}}}</span>
+
    {{#if:{{{page|}}}|
 +
        <!-- page parameter set -->  
 +
            [{{fullurl:{{{page}}}}}{{{1}}}]|
 +
        <!-- url parameter set  -->
 +
            [{{{url}}}{{{1}}}]}}
 +
<!-- neither set -->
 +
    |{{{1}}} }}
 +
</span>
  
 
<noinclude>
 
<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 05:19, 17 November 2012

{{{1}}}


[create] Documentation icon Template documentation