Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Sandbox/vva: Difference between revisions

Template page
m +cat
m +cat
Line 33: Line 33:
|lang=en
|lang=en
}}<noinclude>
}}<noinclude>
[[Category:Layout templates|{{PAGENAME}}]]
{{translated tag|marker}}
</noinclude>
</noinclude>
</pre>
</pre>
Line 63: Line 63:
{{urlencode: 1={{{1|}}} }}
{{urlencode: 1={{{1|}}} }}
}}
}}
</div>
</div><noinclude>
[[Category:Layout templates|{{PAGENAME}}]]
</noinclude>
</pre>
</pre>

Revision as of 21:18, 19 February 2015

Complete source codings for templates

for copy/paste the 3 protected templates


{{Vector version available}}

<includeonly>{{Autotranslate
|1={{#invoke:File|woExtension|file={{#if:{{{1|}}}|{{PAGENAME:{{{1}}}}}|{{PAGENAME}}}}}}.svg
|2={{#invoke:File|woExtension|file={{PAGENAME:{{{2}}}}}}}.svg
|3={{#invoke:File|woExtension|file={{PAGENAME:{{{3}}}}}}}.svg
|4={{#if:{{{3|}}}|3|{{#if:{{{2|}}}|2|1}}}}
|base=Vector version available}}</includeonly><noinclude>
{{Documentation}}
</noinclude>


{{Vector version available/en}}

{{Vector version available/layout
|1={{{1}}}
|2={{{2|}}}
|3={{{3|}}}
|n={{{4|1}}}
|imageExists={{PLURAL:{{{4|1}}}
|[[:File:{{{1}}}]] is a vector version of this file. It
|Several vector versions of this file are available. One of these
}} should be used in place of this raster image when not inferior.
|imageDoesNotExist=Error: No SVG image by that name exists. Please make sure to use the correct format: {{tlp|Vector version available|''new image name''}}.
|moreInfo=For more information, see [[Help:SVG]].
|svgImageLabel=New SVG image
|lang=en
}}<noinclude>
{{translated tag|marker}}
</noinclude>


{{Vector version available/layout}}

<div class="layouttemplate" style="direction: {{Dir|{{{lang|}}}}}">
{| style="width:100%;clear:both;margin:0.5em auto;background:#f7f8ff;border:2px solid #5580B4;border-spacing:8px"
| [[File:Gnome-x-office-drawing.svg|70px|link=]]
|{{lang|{{{lang|}}}|{{#if:{{#iferror:{{#invoke:File|fileExists|file=File:{{{1}}}}}}}|{{{imageExists}}}{{#ifeq:{{NAMESPACE}}|File|[[Category:Vector version available]]}}|<span class="error">{{{imageDoesNotExist|Image does not exist}}}</span>{{#ifeq:{{NAMESPACE}}|File|[[Category:Vector version available/error]]}}}}}}{{Clr}}
----
<div style="margin-left:auto;margin-right:auto;text-align:center;font-size:90%">File:{{PAGENAME}} [[File:Gnome-go-next.svg|link=|12px|middle]] {{PLURAL:{{{n|1}}}
|[[:File:{{{1}}}]]
|<div style="display:inline-block;vertical-align:middle;">[[:File:{{{1}}}]]<br/>[[:File:{{{2}}}]]{{#ifeq:{{{n}}}|3|<br/>[[:File:{{{3}}}]]}}</div>
}}</div>
----
<span style="font-size:90%">{{lang|{{{lang|}}}|{{{moreInfo}}}}}</span>
----
{{Vector version available/lang}}
|style="background:transparent;text-align:center;vertical-align:middle" |<div style="{{box-shadow|1px|3px|5px|#888}}" >{{ImageNoteControl
|img=<div class="com-checker">{{PLURAL:{{{n|1}}}
|[[File:{{{1}}}|{{{svgImageLabel}}}|150x150px]]
|[[File:{{{1}}}|{{{svgImageLabel}}}|80x80px]]<br/>[[File:{{{2}}}|{{{svgImageLabel}}}|80x80px]]{{#ifeq:{{{n}}}|3|<br/>[[File:{{{3}}}|{{{svgImageLabel}}}|80x80px]]}}
}}</div>
|notes=none}}</div>
|}
{{LayoutTemplateArgs|template=Vector version available|args=
{{urlencode: 1={{{1|}}} }}
}}
</div><noinclude>
[[Category:Layout templates|{{PAGENAME}}]]
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.