Template:TAGO: Difference between revisions

From VASP Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 17: Line 17:
   }}
   }}
}}<noinclude>
}}<noinclude>
{{NB|warning|The functionality of this template has been integrated into [[Template:TAG]]. Please do not use <code>TAGO</code> any more, use <code>TAG</code> instead!}}
== Purpose ==
== Purpose ==
Prints a link to an {{FILE|INCAR}} tag, optionally with colored background and/or as <code style="padding: 2px">TAG = value</code> pair.
Prints a link to an {{FILE|INCAR}} tag, optionally with colored background and/or as <code style="padding: 2px">TAG = value</code> pair.
Line 33: Line 34:
  <nowiki> {{TAGO|IBRION}}
  <nowiki> {{TAGO|IBRION}}
   
   
  {{TAGO|IBRION|color=red}}
  {{TAGO|IBRION|color=blue}}


  {{TAGO|IBRION|3|color=green}}
  {{TAGO|IBRION|3|color=green}}
Line 39: Line 40:
  {{TAGO|IBRION|5|op=<}}
  {{TAGO|IBRION|5|op=<}}


  {{TAGO|IBRION|4|color=red|op=>}}</nowiki>
  {{TAGO|IBRION|4|color=red|op=?=}}</nowiki>


results in
results in

Latest revision as of 07:25, 24 October 2025

[[{{{1}}}]]

Warning: The functionality of this template has been integrated into Template:TAG. Please do not use TAGO any more, use TAG instead!

Purpose

Prints a link to an INCAR tag, optionally with colored background and/or as TAG = value pair.

Parameters

 {{TAGO|<tag_name>|<<value>>|<<color=color_name>>|<<op=operator>>}}
  • tag_name: The INCAR tag for which a link should be generated.
  • value: (optional) Value associated with INCAR tag, with no other arguments writes MY_TAG = value
  • color=color_name: (optional) Apply a color background, available color_name arguments are: green, grey, blue, red and purple. Works also without the value argument.
  • op=operator: (optional) In case a different operator than = is required it can be provided as with the op= argument, e.g., {{TAGO|MY_TAG|3|op=>=}} produces MY_TAG >= 3.

Examples

 {{TAGO|IBRION}}
 
 {{TAGO|IBRION|color=blue}}

 {{TAGO|IBRION|3|color=green}}

 {{TAGO|IBRION|5|op=<}}

 {{TAGO|IBRION|4|color=red|op=?=}}

results in

Remarks

  • Can be combined with bold and italics format:
 ''{{TAGO|IBRION|4|color=red|op=>}}''
 '''{{TAGO|IBRION|4|color=blue|op=>}}'''
 '''''{{TAGO|IBRION|4|color=purble|op=>}}'''''
produces:
Tip: Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd ML_MODE gubergren, no sea ML_MODE = RUN takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita IBRION > 3 kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.