Difference between revisions of "Template:File"

 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><div style="margin-bottom: 0.3em; background-color: #f0f0f0; padding: 3px; border-radius: 3px;"><tt>{{#if:{{{name|}}}|'''{{{name|}}}'''}}</tt><span style="font-size: 0.8em">{{#if:{{{name|}}}|<nowiki>:</nowiki>}}{{#if:{{{desc|}}}|{{{desc}}}}} <span style="color: #888;">{{#if:{{{lang|}}}|({{{lang}}} source code)}}</span></span>{{#tag:{{#if:{{{lang|}}}|syntaxhighlight|pre}}|
+
<includeonly><div style="margin-bottom: 0.3em; padding: 3px; border: none;"><tt>{{#if:{{{name|}}}|'''{{{name|}}}'''{{#set:Mentions file={{#explode:{{{name}}}|/|-1}}}}}}</tt><span style="color: #888;"> {{#if:{{{lang|}}}| ({{{lang}}} source code)}}</span> {{#if:{{{desc|}}}| - {{{desc}}}}}{{#tag:{{#if:{{{lang|}}}|syntaxhighlight|pre}}|
 
{{{body}}}
 
{{{body}}}
|lang={{{lang}}}}}</div></includeonly>
+
|lang={{{lang}}}}}
 +
</div>{{#if:{{{recipe|}}}|{{#subobject:|step={{{step|}}}|stepCount={{#tag:in||}}|In recipe={{{recipe|}}}|+sep=,|action={{{action}}}|filename={{{name}}}|body={{{body}}}}}}}</includeonly>

Latest revision as of 04:32, February 19, 2015