Difference between revisions of "Template:F"

From RobotX
Jump to navigation Jump to search
Wikimedia Commons>Pikne
(CptViraj, please pay attention to whitespace)
m (1 revision imported)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<noinclude>{{protected}}</noinclude><!--
+
*[[mediawiki:{{{1}}}|{{{1}}}]] - '''{{{2}}}''' - ''{{{3}}}''
-->{{#if:{{{by|}}}|{{#ifeq:{{int:lang}}|bn|{{F/beng|{{{by}}}}}}}}}{{#if:{{{3|}}}<!--
+
<noinclude>[[Category:Utility templates|{{PAGENAME}}]]</noinclude>
-->|{{#switch:{{lc:{{{3|}}}}}<!--                                      case1: file name (p#3=FFL?)
 
-->|n|c|d|f|x|u|g|i|s|h|w|v|p={{F/name|{{{1|}}}|{{{2|}}}|{{lc:{{{3}}}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|l={{{l|}}}|Y=1}}<!--
 
 
 
    #default=
 
-->|{{#if:{{{l|}}}|<small>''Can't [[Template:F|display]]''&nbsp; "[[:{{{l}}}:File:{{PAGENAME:{{{1}}}}}|<u>{{{l}}}:</u>{{PAGENAME:{{{1}}}}}]]"</small><!--
 
-->|{{#ifeq:{{{2}}}|G|{{F/name|{{{1|}}}|{{{3}}}|g|{{{4|}}}|Y=2}}<!--  case2: gallery function "G"
 
 
 
  -->|{{#switch:l|{{{2}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}=<!--case3: file name left (not option "l")
 
  -->|{{F/name|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|l={{{l|}}}|c=3}}<!--
 
    -->{{#switch:Z|{{{2}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}=|{{#switch:{{{3}}}|+|-=|<!--
 
    -->{{#if:{{{T|}}}|&nbsp;}}{{{t|{{{T|&#58;&nbsp;}}}}}}}}}}<!--
 
  -->}}<!--
 
 
 
-->{{#switch:{{{3}}}|+|-=<!--
 
-->|{{#if:{{{1|}}}|[[File:{{PAGENAME:{{{1}}}}}{{#if:{{{lang|}}}|{{!}}lang={{{lang}}}}}<!--  display of the image
 
-->{{!}}{{{3|96}}}px{{#switch:b|{{{2}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}={{!}}border}}<!--
 
-->{{#switch:r|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}={{!}}right}}]]}}}}<!--
 
 
 
-->{{#switch:l|{{{2}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}=<!--  case4: file name right (option "l")
 
-->{{#if:{{{T|}}}|&nbsp;}}{{{t|{{{T|&nbsp;}}}}}}<!--
 
-->{{F/name|{{{1|}}}|{{{2|}}}|{{{3|}}}|{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|l={{{l|}}}|c=4}}<!--
 
-->}}}}}}}}<!--
 
                                without parameter 3:
 
-->|{{#switch:{{lc:{{{2|}}}}}<!--                                      case5: file name (p#2=FFL?)
 
-->|n|c|d|f|x|u|g|i|s|h|w|v|p={{F/name|{{{1|}}}||{{lc:{{{2}}}}}|l={{{l|}}}|t={{{t|}}}|Y=5}}<!--
 
                                                                      case6: file name (this is the default/standard)
 
-->|{{F/name|{{{1|<noinclude>Sample.svg</noinclude>}}}|{{{2|}}}| |{{{4|}}}|{{{5|}}}|{{{6|}}}|{{{7|}}}|{{{8|}}}|l={{{l|}}}|c=6}}}}<!--
 
-->}}{{#if:{{{by|}}}|{{#ifeq:{{int:lang}}|bn||&nbsp;''{{I18n/by}}'' {{#switch:{{padleft:|1|{{{by}}}}}|&#91;|&#123;={{{by}}}<!--
 
  -->|{{u|{{{by}}}|{{#switch:+|{{{2}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}=+<!--
 
  -->|{{#switch:-|{{{2}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}=-}}}}}}}}}}}}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Latest revision as of 04:05, 4 December 2019

  • [[mediawiki:{{{1}}}|{{{1}}}]] - {{{2}}} - {{{3}}}