Difference between revisions of "Template:Infobox content"

From COPTR
Jump to navigation Jump to search
(Semantically annotate the definition)
 
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
 
<table class="infobox formatinfo" border="0" style="float: right; border: 1px solid #aaa; max-width: 45%; overflow: hidden; background-color: #f9f9f9; padding: 0.25em; margin: 0 0.25em 1em;">
 
<table class="infobox formatinfo" border="0" style="float: right; border: 1px solid #aaa; max-width: 45%; overflow: hidden; background-color: #f9f9f9; padding: 0.25em; margin: 0 0.25em 1em;">
<tr><td align="center" colspan="2"><b>Content definition: </b>{{{definition|Missing definition}}}</td></tr>
+
<tr><td align="center" colspan="2"><b>Content definition: </b>{{{definition|Missing definition}}}</td></tr>{{#if: {{{definition|}}}|{{#set: Definition={{{definition}}} }} }}
 
</table>
 
</table>
 
{{#ifeq: {{NAMESPACE}}|Category|See this category's main page [[{{PAGENAME}}]] for more information about this content type|[[Category:Content Types]] {{DisplayContentInformation}} }}</includeonly>
 
{{#ifeq: {{NAMESPACE}}|Category|See this category's main page [[{{PAGENAME}}]] for more information about this content type|[[Category:Content Types]] {{DisplayContentInformation}} }}</includeonly>

Latest revision as of 09:16, 26 May 2021