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:F: Difference between revisions

Template page
m another shorthand definition
 
m corr.
Line 1: Line 1:
[[:File:{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude>
[[:File:{{#if:{{{1|}}}|{{{1}}}|Sample.svg‎}}|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{1|}}}|{{{1}}}|Sample.svg‎}}}}]]<noinclude>


Establishes a link to the file name. If a second parameter is used, this name is displayed instead of the file name.  
Establishes a link to the file name and displays the file name without the prefix "File:".<br>
If a second parameter is specified, this name is displayed instead of the file name.<br>
<small>Because of the ''empty parameter bug'' it uses not the 'pipe trick' but a work-around against that bug.</small>


[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Internal link templates|{{PAGENAME}}]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
[[Category:Typing-aid templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 15:54, 5 January 2011

Sample.svg‎

Establishes a link to the file name and displays the file name without the prefix "File:".
If a second parameter is specified, this name is displayed instead of the file name.
Because of the empty parameter bug it uses not the 'pipe trick' but a work-around against that bug.

Cookies help us deliver our services. By using our services, you agree to our use of cookies.