Template:From CTD (design): Difference between revisions

From Teopedia
No edit summary
No edit summary
Line 15: Line 15:


-->{{#switch: {{#var:view}}  
-->{{#switch: {{#var:view}}  
  | popup = {{#var:text}}<ref>''{{#var:term}}'' {{#if: {{{origin|}}}| ({{{origin}}})|}} {{{description}}}</ref>
  | popup = {{#var:text}}<ref>{{#var:term}} {{#if: {{{origin|}}}| ({{{origin}}})|}} {{{description}}}</ref>
  | brackets = {{#var:text}} [{{#var:description}}]
  | brackets = {{#var:text}} [{{#var:description}}]
  | #default = {{#tag:span|{{#var:text}}|style=border-bottom:1px dotted gray; cursor:help;|title={{#var:description}} (ETG, {{#var:term}})}}
  | #default = {{#tag:span|{{#var:text}}|style=border-bottom:1px dotted gray; cursor:help;|title={{#var:description}} (ETG, {{#var:term}})}}
}}</includeonly>
}}< VALUES: view={{#var:view}}; text={{#var:text}}; term={{#var:term}}; short={{{short}}}; description={{#var:description}};  userparam={{{#userparam|}}};></includeonly>

Revision as of 04:46, 28 September 2022

This template is used by {{From ETG}} to design the appearance of information from ETG. See main template for details.