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

Template page
Created page with '|- ! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_{{{id|{{{name|{{{1|}}}}}}}}}" | {{{name|{{{1|}}}}}} | {{{value|{{{2|}}}}}}'
 
Have "Creator" field set id so the file doesn't end up in Category:Files with no machine-readable author. Using the id parameter would be better, but there are already millions of files that need this, but don't use it.
 
(25 intermediate revisions by 11 users not shown)
Line 1: Line 1:
|-
<noinclude><table class="toccolours" style="width: 100%"></noinclude><tr style="vertical-align: top"><!--  
! style="background: #ccf; text-align: right; padding-right: 0.4em" id="fileinfotpl_{{{id|{{{name|{{{1|}}}}}}}}}" | {{{name|{{{1|}}}}}} | {{{value|{{{2|}}}}}}
 
=== Left side: name field ===
--><td style="{{{style|}}}" class="fileinfo-paramfield {{{class|}}}" {{#if:{{{id|}}}|id="{{{id|}}}"|{{#ifeq:{{{name|{{{Name|{{{1|<noinclude>{{{name}}}</noinclude>}}}}}}}}}|Creator|id = "fileinfotpl_aut"|}}}}><!-- 
  -->{{{name|{{{Name|{{{1|<noinclude>{{{name}}}</noinclude>}}}}}}}}}<div style="display: none;">InfoField</div><!-- 
--></td><!--
 
=== Right side: value field ===
--><td style="{{{stylevalue|}}}" ><!-- 
-->{{#if:{{{stylevalue|}}}{{{classvalue|}}}{{{style|}}}{{{class|}}}{{{id|}}}|[[Category:Information field template with formatting]]}}<!-- 
-->{{#if:{{{classvalue|}}}<!-- 
  -->|<span class="{{{classvalue|}}}"> {{{value|{{{Value|{{{2|<noinclude>{{{value}}}</noinclude>}}}}}}}}}</span><!-- 
  -->|                                {{{value|{{{Value|{{{2|<noinclude>{{{value}}}</noinclude>}}}}}}}}}<!-- 
-->}}<!-- 
--></td>
</tr><noinclude></table>
 
{{documentation}}
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.