Template:Person: Difference between revisions

From MoHA Wiki
No edit summary
No edit summary
Line 24: Line 24:
<ul>
<ul>
{{{Contacts|<li>No public contact info.</li>}}}
{{{Contacts|<li>No public contact info.</li>}}}
{{#ask: [[-Has subobject::Personal:{{PAGENAME}}]]
{{#if:{{#show: Personal:{{PAGENAME}}|?Modification date}}
  |?Contact type
   |{{#ifingroup: member, sysop
   |?Email
    |<li id="show-private-contacts">Show private contacts</li>
  |?Phone
  }}
  |?Other contact
  |?Is preferred
  |?Is emergency contact
  |mainlabel=-
  |headers=hide
  |format=plainlist
  |template=Contact item
  |named args=yes
}}
}}
</ul>
</ul>
<ul id="private-contacts"></ul>
{{#if: {{#show: Personal:{{PAGENAME}}|?Modification date}}
{{#if: {{#show: Personal:{{PAGENAME}}|?Modification date}}
   |
   |

Revision as of 00:49, March 22, 2022