Template:From CTD (design): Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
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>