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

Template page
obs tag
m +parm
Line 19: Line 19:
|2={{{2|}}}<!--                    {{F|filename|G|caption|px}}  without centering -->
|2={{{2|}}}<!--                    {{F|filename|G|caption|px}}  without centering -->
|5=<div class="center">{{{5|}}}</div>}}<!--  {{F|filename|G|px}}        with centering 5 -->
|5=<div class="center">{{{5|}}}</div>}}<!--  {{F|filename|G|px}}        with centering 5 -->
|widths={{#if:{{{4|}}}|{{#invoke:Galeria|converse|{{{4}}}|w}}|120}}<!--
|widths={{#if:{{{4|}}}|{{#invoke:Galeria|converse|{{{4}}}|w}}|120}}<!--   default width
-->|heights={{#if:{{{4|}}}|{{#invoke:Galeria|converse|{{{4}}}|h}}|120}}
-->|heights={{#if:{{{4|}}}|{{#invoke:Galeria|converse|{{{4}}}|h}}|120}}
}}}}<!-- end 'g'  
}}}}<!-- end 'g'  
Line 50: Line 50:
   -->[[:{{#if:{{{l|}}}|{{{l}}}:}}File:{{{1}}}<!--
   -->[[:{{#if:{{{l|}}}|{{{l}}}:}}File:{{{1}}}<!--
  -->|{{#switch:+|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}=File:}}<!--
  -->|{{#switch:+|{{{2}}}|{{{3}}}|{{{4}}}|{{{5}}}|{{{6}}}|{{{7}}}|{{{8|}}}=File:}}<!--
  -->{{#switch:{{{2|}}}|b|l|r|+|-|={{{1}}}|{{{2}}}}}]]<!--
  -->{{#switch:{{{2|}}}|b|l|n|r|u|+|-|={{{1}}}|{{{2}}}}}]]<!--
  -->{{#if:{{{l|}}}|</span>}} }}<!--fxus
  -->{{#if:{{{l|}}}|</span>}} }}<!--fxus
   -->|<span style="font-weight:900;background:#FF8;color:#F00"> ''no name<!--
   -->|<span style="font-weight:900;background:#FF8;color:#F00"> ''no name<!--

Revision as of 13:06, 18 May 2022


Subtemplate to {{F}}, invoked from either of 6 positions but only once

performs display of the file name (2nd name as given, without PAGENAME:)
Parameters: 1, 2, 3, 4, 5, 6, 7, 8; l; internal: Y
When parameter 1 is missing, categorizing to Commons:Missing file name in template F occurs

Special function: just parameter 1 is F,X,U,S: like File Function Letter for {{PAGENAME}}

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