Difference between revisions of "Template:From CTD (design)"

From Teopedia library
Jump to navigation Jump to search
m
Line 15: Line 15:
  
 
-->{{#switch: {{#var:view}}  
 
-->{{#switch: {{#var:view}}  
  | popup = {{#var:text}}<ref>{{#var:term}} {{#if: {{{origin|}}}| ({{{origin}}})|}} {{{description}}}</ref>
+
  | footnote = {{#var:text}}<ref>{{#var:term}} {{#if: {{{origin|}}}| ({{{origin}}})|}} {{#var: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}})}} <!-- default view = popup -->
}}< VALUES: view={{#var:view}}; text={{#var:text}}; term={{#var:term}}; short={{{short}}}; description={{#var:description}};  userparam={{{#userparam|}}};></includeonly>
+
}}'''< DEBUG VALUES: view={{#var:view}}; text={{#var:text}}; term={{#var:term}}; short={{{short}}}; description={{#var:description}};  userparam={{{#userparam|}}};>'''</includeonly>

Revision as of 07:51, 28 September 2022

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