Template:Contact: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
   |Is preferred={{{Is preferred|}}}
   |Is preferred={{{Is preferred|}}}
   |Is emergency contact={{{Is emergency|}}}
   |Is emergency contact={{{Is emergency|}}}
  |Emergency person={{{Emergency person|}}}
}}<!--
}}<!--


--><li>{{#switch:{{{Contact type|}}}
--><li>{{#if: {{{Emergency person|}}}|'''Emergency!''' {{{Emergency person|}}}&#32;}}{{#switch:{{{Contact type|}}}
         |Email=[mailto:{{{Email|}}} {{{Email|}}}]
         |Email=[mailto:{{{Email|}}} {{{Email|}}}]
         |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>

Latest revision as of 17:04, March 24, 2022