Difference between revisions of "Template:File Format"

From LDraw.org Wiki
Jump to navigation Jump to search
m
(Updated with nested table and updated fields)
Line 1: Line 1:
{| style="background-color: #F9F9F9; border: 1px solid #AAAAAA; border-radius: 5px; width: 300px; float:right; margin-left: 10px; font-size: 9pt" cellspacing="5" cellpadding="0"
+
{| style="background-color: #E0E0E0; border: 1px solid #AAAAAA; border-radius: 5px; width: 300px; float:right; margin-left: 10px; font-size: 12pt" cellspacing="0" cellpadding="0"
 
|-align="center" valign="middle"
 
|-align="center" valign="middle"
| colspan="2" style="font-size: 12pt; font-weight: bold" | {{{name|{{PAGENAME}}}}}
+
| style="padding: 7px" | '''{{{name|{{PAGENAME}}}}}'''
 +
|-
 +
|
 +
{| style="background-color: #F9F9F9; font-size: 9pt; width: 300px;" cellpadding="0" cellspacing="5"
 
|-align="center" valign="middle"
 
|-align="center" valign="middle"
 
| colspan="2" | [[File:{{{icon|{{{logo|File icon.png}}}}}}|48px|link=]]
 
| colspan="2" | [[File:{{{icon|{{{logo|File icon.png}}}}}}|48px|link=]]
 
|-align="left" valign="top"
 
|-align="left" valign="top"
| style="width: 120px;" | '''Filename extension'''
+
| style="min-width: 120px; width: 120px" | '''Filename extension'''
 
| {{{extension|<span style="color: #999;">''unknown''</span>}}}
 
| {{{extension|<span style="color: #999;">''unknown''</span>}}}
 
|-align="left" valign="top"
 
|-align="left" valign="top"
| style="width: 120px;" | '''Developed by'''
+
| style="min-width: 120px; width: 120px" | '''Internet media type'''
 +
| {{{mime|<span style="color: #999;">''unknown''</span>}}}
 +
|-align="left" valign="top"
 +
| style="min-width: 120px; width: 120px" | '''Developed by'''
 
| {{{developer|<span style="color: #999;">''unknown''</span>}}}
 
| {{{developer|<span style="color: #999;">''unknown''</span>}}}
 
|-align="left" valign="top"
 
|-align="left" valign="top"
| style="width: 120px;" | '''Type of format'''
+
| style="min-width: 120px; width: 120px" | '''Type of format'''
 
| {{{type|{{{genre|<span style="color: #999;">''unknown''</span>}}}}}}
 
| {{{type|{{{genre|<span style="color: #999;">''unknown''</span>}}}}}}
|-align="left" valign="top"
+
|}
| style="width: 120px;" | '''Website'''
+
|-align="right" valign="middle"
| {{{website|<span style="color: #999;">''unknown''</span>}}}
+
| style="color: #AAAAAA; font-size: 7pt; font-weight: bold; padding: 0px 10px" | File format infobox
 
|}<noinclude>
 
|}<noinclude>
  
 
==Usage==
 
==Usage==
 
<pre style="overflow:auto">{{File format
 
<pre style="overflow:auto">{{File format
|name      = <!-- Delete this line completely to use the {{{PAGENAME}}} variable -->
+
|name      = <!-- Delete this parameter completely to use the {{{PAGENAME}}} variable -->
|icon      = <!-- Delete this line completely to use the generic file icon -->
+
|icon      = <!-- Delete this parameter completely to use the generic file icon -->
|extension =  
+
|extension = <!-- Use the {{code}} template to format this parameter -->
 +
|mime      = <!-- Use the {{code}} template to format this parameter -->
 
|developer =  
 
|developer =  
 
|type      =  
 
|type      =  
|website  =
 
 
}}</pre>
 
}}</pre>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
<includeonly>[[Category:File formats]]</includeonly>
 
<includeonly>[[Category:File formats]]</includeonly>

Revision as of 09:57, 19 January 2015

File Format
File icon.png
Filename extension unknown
Internet media type unknown
Developed by unknown
Type of format unknown
File format infobox

Usage

{{File format
|name      = <!-- Delete this parameter completely to use the {{{PAGENAME}}} variable -->
|icon      = <!-- Delete this parameter completely to use the generic file icon -->
|extension = <!-- Use the {{code}} template to format this parameter -->
|mime      = <!-- Use the {{code}} template to format this parameter -->
|developer = 
|type      = 
}}