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
cat
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.
 
(22 intermediate revisions by 8 users not shown)
Line 1: Line 1:
|- valign="top"
<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|}}}}}}<noinclude>


[[Category:Formatting templates|{{PAGENAME}}]]
=== 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>
</noinclude>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.