Template:From CTD (design): Difference between revisions

no edit summary
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>