Template:WikiProjectCard and Template:WikiProjectCard/sandbox: Difference between pages

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>Pingnova
Replacing default timestamp phrase with magic words to generate automatic timestamp, after testing in Editing Template:WikiProjectCard/sandbox
 
imported>Pingnova
No edit summary
 
Line 1: Line 1:
{{#ifeq:{{#titleparts:{{FULLPAGENAME}}|2}}|Wikipedia:WikiProject Women in Red/Members|* [[User:{{{creator|}}}|{{{creator|}}}]] (since {{{timestamp|Unknown}}})|
{{#ifeq:{{FULLPAGENAME}}|Wikipedia:WikiProject Women in Red/Members/Inactive|* [[User:{{{creator|}}}|{{{creator|}}}]] (since {{{timestamp|Unknown}}})|
<div id="{{{creator|Example}}}" style="margin-bottom:{{#ifeq:{{{mode|}}}|compact|5px|1.5em}};">
<div id="{{{creator|Example}}}" style="margin-bottom:{{#ifeq:{{{mode|}}}|compact|5px|1.5em}};">
{{#ifeq:{{{mode|}}}|compact|<div style="float:left; width:45px; height:45px; overflow:hidden;">
{{#ifeq:{{{mode|}}}|compact|<div style="float:left; width:45px; height:45px; overflow:hidden;">
[[{{{image|File:Profile_placeholder.png}}}|x45px|center]]
[[{{{image|File:Profile_placeholder.png}}}|x45px|center]]
</div>
</div>
<div style="height:45px;padding-left:10px;padding-bottom:5px;display:table-cell;vertical-align:middle;line-height:1.3;">
<div style="height:45px; padding-left:10px; padding-bottom:5px; display:table-cell; vertical-align:middle; line-height:1.3;">
{{#ifexist:{{FULLPAGENAME}}/Members
{{#ifexist:{{FULLPAGENAME/Members}}
  |'''[[{{FULLPAGENAME}}/Members#{{{creator|Example}}}|{{{creator|Example}}}]]'''
  |'''[[{{FULLPAGENAME}}/Members#{{{creator|Example}}}|{{{creator|Example}}}]]'''
  |'''[[{{FULLPAGENAME}}/Participants#{{{creator|Example}}}|{{{creator|Example}}}]]'''
  |'''[[{{FULLPAGENAME}}/Participants#{{{creator|Example}}}|{{{creator|Example}}}]]'''
}}</div>|
}}</div>|
<div style="float:left;width:85px;height:85px;overflow:hidden;">
<div style="float:left; width:85px; height:85px; overflow:hidden;">
[[{{{image|File:Profile_placeholder.png}}}|x85px|center]]
[[{{{image|File:Profile_placeholder.png}}}|x85px|center]]
</div>
</div>
<div style="height:85px;padding-left:15px;display:table-cell;vertical-align:middle;line-height:1.3;">
<div style="height:85px; padding-left:15px; display:table-cell; vertical-align:middle; line-height:1.3;">
<div class="plainlinks" style="font-size:120%;padding-bottom:0.5em;font-weight:bold;">[[User:{{{creator|Example}}}|{{{creator|Example}}}]] <small>[[{{SERVER}}/w/index.php?title=User:{{replace|{{urlencode:{{{creator|Example}}}}}| |_}}/WikiProjectCards/{{replace|{{{wikiproject|WikiProject_Example}}}| |_}}&action=edit edit]]</small></div>
<div class="plainlinks" style="font-size:120%; padding-bottom:0.5em; font-weight:bold;">[[User:{{{creator|Example}}}|{{{creator|Example}}}]] <small>[[{{SERVER}}/w/index.php?title=User:{{replace|{{urlencode:{{{creator|Example}}}}}| |_}}/WikiProjectCards/{{replace|{{{wikiproject|WikiProject_Example}}}| |_}}&action=edit edit this profile]]</small></div>
<div>'''Wants to work on:''' {{{about|''No tagline for this participant''}}}</div>
<div>'''Wants to work on:''' {{{about|''No tagline for this participant''}}}</div>
<div>'''Needs help with:''' {{{needshelp|Nothing!}}}</div>
<div>'''Needs help with:''' {{{needshelp|Nothing!}}}</div>
Line 23: Line 23:
}}
}}
<noinclude>
<noinclude>
{{Documentation}}
{{Template sandbox notice}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
</noinclude>
</noinclude>