Difference between revisions of "Template:Infobox format"

From COPTR
Jump to navigation Jump to search
Line 1: Line 1:
 
<includeonly><table class="infobox formatinfo wikitable" border="0" style="float: right; border: 1px solid #aaa; max-width: 33%; overflow: hidden; background-color: #f9f9f9; padding: 0.25em; margin: 0 0.25em 1em;">
 
<includeonly><table class="infobox formatinfo wikitable" border="0" style="float: right; border: 1px solid #aaa; max-width: 33%; overflow: hidden; background-color: #f9f9f9; padding: 0.25em; margin: 0 0.25em 1em;">
  
<tr><td align="center" colspan="2">'''{{PAGENAME}}'''{{#set: Name={{PAGENAME}}}}</td></tr>
+
<tr><td align="center" colspan="2">'''{{PAGENAME}}'''{{#set: Name={{PAGENAME}} }}</td></tr>
{{#if:{{{Wikidata ID|}}}|{{#set:Wikidata ID={{{Wikidata ID}}}}}
+
{{#if:{{{Wikidata ID|}}}|{{#set: Wikidata ID={{{Wikidata ID}}} }}
 
<tr><td><small><b>Wikidata:</b></small></td><td><small>[https://www.wikidata.org/wiki/{{{Wikidata ID}}} {{{Wikidata ID}}}]</small></td></tr>
 
<tr><td><small><b>Wikidata:</b></small></td><td><small>[https://www.wikidata.org/wiki/{{{Wikidata ID}}} {{{Wikidata ID}}}]</small></td></tr>
 
}}
 
}}
{{#if:{{{File formats wiki ID|}}}|{{#set:File formats wiki ID={{{File formats wiki ID}}}}}
+
{{#if:{{{File formats wiki ID|}}}|{{#set: File formats wiki ID={{{File formats wiki ID}}}}}
 
<tr><td><small><b>File formats wiki:</b></small></td><td><small>[[formats:{{{File formats wiki ID}}}]]</small></td></tr>
 
<tr><td><small><b>File formats wiki:</b></small></td><td><small>[[formats:{{{File formats wiki ID}}}]]</small></td></tr>
 
}}
 
}}

Revision as of 21:17, 25 May 2021