Template:SCR: Difference between revisions

From Calidus HUB
(Created page with "{{#if: {{{SCR|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: ...")
 
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if: {{{SCR|}}}|<table cellspacing="0" cellpadding="0" border="0" style="background: transparent;"><tr><td nowrap="nowrap" valign="top">}}<span style="position: relative; top: -2px;">[[File:Attention niels epting.png|18px|Warning|link=]]</span> '''SCR-{{Reference|}}-{{SCRNo}}''': {{#if: {{{1|}}}|</td><td valign="top" style="padding-left:0.5em;">{{{Definition|}}}</td></tr></table>}}<noinclude>
<table cellspacing="0" cellpadding="0" border="0" style="background: transparent;"><tr><td nowrap="nowrap" valign="top"><span style="position: relative; top: -2px;">[[File:SCR.jpg|18px|SCR|link=]]</span></td><td valign="top"> '''[[#{{{Link|{{PAGENAME}}}}}|SCR-{{{Reference|}}}-{{{SCRNo}}}]]''': </td><td valign="top" style="padding-left:0.5em;">{{{Definition|}}}</td></tr></table><noinclude>


== Usage ==
== Usage ==
Line 5: Line 5:
The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. The example shows how this may be used within an FS or REQ document template. If not, replace the parameters with literals.
The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. The example shows how this may be used within an FS or REQ document template. If not, replace the parameters with literals.
  <nowiki>{{SCR
  <nowiki>{{SCR
|Reference=FS {{#var:Reference}}
|Reference={{#var:Reference}}
|SCRNo={{ #vardefineecho: SCR | {{ #expr: {{ #var: SCR }} + 1 }} }}
|SCRNo={{ #vardefineecho: SCR | {{ #expr: {{ #var: SCR }} + 1 }} }}
|Definition
|Definition=The text describing the change
}}</nowiki>  
}}</nowiki>  


{{SCR
{{SCR
|Reference=FS {{#var:Reference}}
|Reference=123456
|SCRNo={{ #vardefineecho: SCR | {{ #expr: {{ #var: SCR }} + 1 }} }}
|SCRNo=1
|Definition
|Definition=The text describing the change
}}
}}


[[Category:Templates|{{PAGENAME}}]]
[[Category:Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Latest revision as of 18:45, 6 November 2013

SCR SCR--{{{SCRNo}}}:

Usage

The following includes the text passed to the template, and uses a table to stop the text flowing round the icon. The example shows how this may be used within an FS or REQ document template. If not, replace the parameters with literals.

{{SCR
|Reference={{#var:Reference}}
|SCRNo={{ #vardefineecho: SCR | {{ #expr: {{ #var: SCR }} + 1 }} }}
|Definition=The text describing the change
}} 
SCR SCR-123456-1: The text describing the change