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
m Changed protection level for "Template:Information field": downgraded protection level per consensus ([Edit=Allow only template editors and administrators] (indefinite) [Move=Allow only template editors and administrators] (indefinite))
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.
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table class="toccolours" style="width: 100%"><onlyinclude><tr valign="top">
<noinclude><table class="toccolours" style="width: 100%"></noinclude><tr style="vertical-align: top"><!--
<td style="{{{style|}}}" class="fileinfo-paramfield {{{class|}}}" {{#if:{{{id|}}}|id="{{{id|}}}"|}}>{{{name|{{{Name|{{{1|<noinclude>{{{name}}}</noinclude>}}}}}}}}}</td>
 
<td style="{{{stylevalue|}}}" >{{#if:{{{classvalue|}}}
=== Left side: name field ===
|<span class="{{{classvalue|}}}"> {{{value|{{{Value|{{{2|<noinclude>{{{value}}}</noinclude>}}}}}}}}}</span>
--><td style="{{{style|}}}" class="fileinfo-paramfield {{{class|}}}" {{#if:{{{id|}}}|id="{{{id|}}}"|{{#ifeq:{{{name|{{{Name|{{{1|<noinclude>{{{name}}}</noinclude>}}}}}}}}}|Creator|id = "fileinfotpl_aut"|}}}}><!-- 
|{{{value|{{{Value|{{{2|<noinclude>{{{value}}}</noinclude>}}}}}}}}}
  -->{{{name|{{{Name|{{{1|<noinclude>{{{name}}}</noinclude>}}}}}}}}}<div style="display: none;">InfoField</div><!-- 
}}</td>
--></td><!--
</tr></onlyinclude></table>
 
=== 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}}
{{documentation}}
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.