Difference between revisions of "Template:Infobox CV"

From Train Control Systems Documentation
Jump to navigation Jump to search
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox cv
+
{{Infobox
 
|title = {{{name|{{PAGENAME}}}}}
 
|title = {{{name|{{PAGENAME}}}}}
  
|header1 = {{{cv name|}}}
+
<!-- {{{cv name|}}} -->
 
+
|data1    = {{#if:{{{cv range|}}}{{{cv accepted|}}}{{{cv default|}}}|
|label1   = Range of Values
+
{{infobox
  |data1   = {{{cv range|}}}
+
|bodyclass=collapsible
|label2   = Accepted Values
+
|bodystyle={{Subinfobox bodystyle}}
  |data2   = {{{cv accepted|}}}
+
|abovestyle = background-color: #16A085; font-size:100%; padding-left:3em;
|label3   = Default Value
+
|above = {{{cv name|}}}
  |data3   = {{{cv default|}}}
+
|labelstyle  = padding-top:0.225em; line-height:1.15em; padding-right:0.75em; width:75%;
}}
+
|data1    = {{{hatnote|}}}
 +
|label2   = Range of Values
 +
  |data2   = {{{cv range|}}}
 +
|label3   = Accepted Values
 +
  |data3   = {{{cv accepted|}}}
 +
|label4   = Default Value
 +
  |data4   = {{{cv default|}}}
 +
}} }} }}

Latest revision as of 23:21, 29 December 2020

Infobox CV