Difference between revisions of "Template:Definition"

From FreewarWiki
Jump to: navigation, search
(fixed)
Line 1: Line 1:
<div style="position:relative; margin:10px; float:right; width:250px; height:85px; {{{{{3|{{PAGENAME}}}}}/Colours}} {{{4|1px solid}}};">&nbsp;<br /><span style="margin:20px;">{{{1}}}</span><big>'''{{{3|{{PAGENAME}}}}}''' <br /></big><span style="position:absolute; right:5px; bottom:5px;">[[:Category:{{{2|{{PAGENAME}}}}}|''[Category]'']]</span></div>
+
<includeonly><div class="layout_border_solid layout_color_{{lc:{{{3|{{PAGENAME}}}}}}}" style="position:relative; margin:10px; float:right; width:250px; height:85px; border-width:{{{4|1}}}px;">&nbsp;<br /><span style="margin:20px;">{{{1}}}</span><big>'''{{{3|{{PAGENAME}}}}}''' <br /></big><span style="position:absolute; right:5px; bottom:5px;">{{#ifeq:{{{2|}}}|none||[[:Kategorie:{{{2|{{PAGENAME}}}}}|''[Kategorie]'']]}}</span></div></includeonly>
<noinclude><br><br><br><br>
+
<noinclude>{{Documentation}}</noinclude>
{{Template Documentation|Serves to narrow the definition of a term|This Template can be included by using '''<tt><nowiki>{{Definition|"Image"|"Cat"|"Style"|"Parameters"}}</nowiki></tt>'''.|* '''Image:''' The image to be displayed
 
* '''Cat:''' The category should be linked to, depends on the page name if left blank
 
* '''Style:''' Here you can further style component to insert, creates a directed colored background, the page name if left blank
 
* '''Parameters:''' Here can be entered the border thickness}}</noinclude>
 

Revision as of 16:05, 15 February 2017


[Edit] Documentation
Documentation

Usage
Serves to narrow the definition of a term

Integration
This Template can be included by using {{Definition|"Image"|"Cat"|"Style"|"Parameters"}}.

Parameters

  • Image: The image to be displayed
  • Cat: The category should be linked to, depends on the page name if left blank
  • Style: Here you can further style component to insert, creates a directed colored background, the page name if left blank
  • Parameters: Here can be entered the border thickness