Template:Contact item: Difference between revisions

From MoHA Wiki
(Created page with "<includeonly><li>{{#switch:{{{Contact type|}}} |Email=[mailto:{{{Email|}}} {{{Email|}}}] |Phone=[tel:{{{Phone|}}} {{{Phone|}}}] |#default={{{Other|}...")
 
No edit summary
Line 1: Line 1:
<includeonly><li>{{#switch:{{{Contact type|}}}
<includeonly><li>{{#switch:{{{Contact type|}}}
         |Email=[mailto:{{{Email|}}} {{{Email|}}}]
         |Email={{{Email|}}}
         |Phone=[tel:{{{Phone|}}} {{{Phone|}}}]
         |Phone={{{Phone|}}}
         |#default={{{Other|}}}
         |#default={{{Other|}}}
       }} {{#ifeq:{{{Is preferred|}}}|Yes|{{!}} preferred}} {{#ifeq:{{{Is emergency contact|}}}|Yes|{{!}} emergency contact}}</li></includeonly>
       }} {{#ifeq:{{{Is preferred|}}}|Yes|{{!}} preferred}} {{#ifeq:{{{Is emergency contact|}}}|Yes|{{!}} emergency contact}}</li></includeonly>

Revision as of 00:35, March 22, 2022