Template:User: Difference between revisions
From EyeWiki
No edit summary |
WikiWorks743 (talk | contribs) m (Text replacement - "{{#ask:" to "{{#ask: Modification date::+") |
||
(33 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude></noinclude><includeonly> | <noinclude></noinclude><includeonly><div style="width:auto;display:block;padding-left:1.25em; padding-right: 1.25em;float: left;overflow: auto;text-size:105%;margin-bottom:15px;margin-right: 15px;">{{#set:Approved={{{Approved|No}}}}} | ||
'''[[Property:Name|Name]]'''<br /> | |||
{{#ifeq: {{{Name|}}}||<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>|{{#set:Name={{{Name|}}}}}{{{Name|}}}}} | |||
'''[[Property:Location|Location]]'''<br /> | |||
{{#ifeq: {{{Location|}}}||<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>|{{#set:Location={{{Location|}}}}}{{{Location|}}}}} | |||
'''[[Property: | |||
{{#ifeq: {{{ | |||
'''[[Property:Affiliation|Affiliation]]'''<br /> | '''[[Property:Affiliation|Affiliation]]'''<br /> | ||
{{#ifeq: {{{Affiliation|}}}||<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>|{{#arraymap:{{{Affiliation|}}}|,|xyz|{{#set:Affiliation=xyz}}xyz | {{#ifeq: {{{Affiliation|}}}||<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>|{{#arraymap:{{{Affiliation|}}}|,|xyz|{{#set:Affiliation=xyz}}xyz }}}} | ||
'''[[Property:Financial Disclosures|Financial Disclosures]]'''<br /> | '''[[Property:Financial Disclosures|Financial Disclosures]]'''<br /> | ||
{{# | {{#if: {{{Financial disclosures|}}}|{{#set:Financial Disclosures={{{Financial disclosures|}}}}}{{{Financial disclosures|}}}|<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>}} | ||
'''[[Property:Contact|E-mail]]'''<br /> | '''[[Property:Contact|Public E-mail or Contact]]'''<br /> | ||
{{#ifeq: {{{Contact|}}}||<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>|{{#arraymap:{{{Contact|}}}|,|xyz|{{#set:Contact=xyz}}xyz|}}}} | {{#ifeq: {{{Contact|}}}||<small>[{{fullurl:{{FULLPAGENAME}}|action=formedit}} add]</small>|{{#arraymap:{{{Contact|}}}|,|xyz|{{#set:Contact=xyz}}xyz|}}}} | ||
'''[[Property:Ophthalmologist|Ophthalmologist]]'''<br /> | |||
[[Ophthalmologist::{{{Ophthalmologist|}}}]] | |||
{{#ifeq:{{{Ophthalmologist|}}}|Yes| | |||
'''[[Property:Subspecialty|Subspecialty]]'''<br /> | |||
[[Subspecialty::{{{Subspecialty|}}}]] | |||
'''[[Property:Degree type|Degree type]]'''<br /> | |||
[[Degree type::{{{Degree type|}}}]] | |||
|{{#ifeq:{{{Ophthalmologist|}}}|No|[[Eligible non-ophthalmologist::{{{Eligible non-ophthalmologist|}}}|]]'''[[Property:Title or field|Job title or field of work]]'''<br /> | |||
[[Title or field::{{{Title or field|}}}]] | |||
'''[[Property:Sponsoring ophthalmologist|Sponsoring ophthalmologist]]'''<br /> | |||
{{#if:{{{Sponsoring ophthalmologist|}}}|[[Sponsoring ophthalmologist::User:{{{Sponsoring ophthalmologist|}}}]]}} | |||
}}}} | |||
{{#if: {{#ask: [[Modification date::+]] [[Category:Articles]][[Authors::{{FULLPAGENAME}}]]|format=list}}|'''[[Property:Authors|Contributions]]'''<br />{{#if: {{{Name|}}}|{{{Name|}}}|This user}} is listed as an author of {{#ask: [[Modification date::+]] [[Category:Articles]][[Authors::{{FULLPAGENAME}}]]|format=list}}|}} | |||
</div> | </div> | ||
{{#set: UserName={{PAGENAME}}}} | {{#set: UserName={{PAGENAME}}}} | ||
[[Category:Users]] | [[Category:Users|{{PAGENAME}}]] | ||
<div style="display:none;"> | |||
{{#if: {{{Name|}}}||{{#set:Name empty=yes}}}} | |||
{{#if: {{{Affiliation|}}}||{{#set:Affiliation empty=yes}}}} | |||
{{#if: {{{Financial disclosures|}}}||{{#set:Financial disclosures empty=yes}}}} | |||
{{#if: {{{Contact|}}}||{{#set:Contact empty=yes}}}} | |||
</div> | |||
</includeonly> | </includeonly> |