wpu.nu

Skillnad mellan versioner av "Mall:PersonrutaAvatar"

Från wpu.nu

m
m
 
(105 mellanliggande versioner av samma användare visas inte)
Rad 1: Rad 1:
 
<includeonly>
 
<includeonly>
<div class="pu-paperform-box-s1">
+
<div class="pu-paperform-box-s1" style="flex-grow: 0; ">
 
<div class="pu-paperform-preprinted-text">
 
<div class="pu-paperform-preprinted-text">
 
{{{Rubrik|Foto}}}
 
{{{Rubrik|Foto}}}
 
</div>
 
</div>
<div class="pu-paperform-filled-in-text">
+
<div class="pu-paperform-filled-in-text" style="margin-left: 1em; margin-right:1em;">
<div style="background-color: #fff; border-style:solid; border-width:1px; corner-radius:5px; padding:10px; height: 220px; width: 220px;">
+
<div class="pu-paperform-avatar-frame">
<img alt="Avatar Stig Engström.png" src="/images/5/57/Avatar_Stig_Engstr%C3%B6m.png" decoding="async" width="200" height="200" data-file-width="50" data-file-height="50">
+
{{#ask:  
<!--{{#ifexist: File:Avatar_{{PAGENAME}}.png | [[File:Avatar_{{PAGENAME}}.png|left|200px]] | {{#ifexist: File:Avatar_{{PAGENAME}}.jpg | [[File:Avatar_{{PAGENAME}}.jpg|left|200px]] | {{#ifexist: File:Avatar_{{PAGENAME}}.jpeg | [[File:Avatar_{{PAGENAME}}.jpeg|left|200px]] | [[File:Avatar_missing.png|left|200px]] }} }} }}-->
+
[[Fil:~Avatar_{{{Namn|{{PAGENAME}}}}}.*]]
 +
|?=
 +
|format=plainlist
 +
|template=Passfoto
 +
|userparm={{{Namn|{{PAGENAME}}}}}
 +
|limit=1
 +
|offset=0
 +
|link=none
 +
|mainlabel=-
 +
|hidegaps=none
 +
|searchlabel=
 +
|default=<div style="width:220px; height:220px; line-height: 220px; text-align: center;">Plats för foto</div>
 +
}}
 
</div>
 
</div>
 
<div style="clear: both;">
 
<div style="clear: both;">
{{{Bildtext|{{PAGENAME}}}}}
+
{{{Bildtext|[[{{{Namn|{{PAGENAME}}}}}]]}}}
 
</div>
 
</div>
 
</div>
 
</div>
{{#if: {{{Text|}}}|
+
{{#if: {{{Text|}}}{{#ask: [[{{{Namn|{{PAGENAME}}}}}]] [[Har AndraNamnText::+]]}}|
 
<div class="pu-paperform-preprinted-text">
 
<div class="pu-paperform-preprinted-text">
 
{{{Underrubrik|Andra kända namn}}}
 
{{{Underrubrik|Andra kända namn}}}
 
</div>
 
</div>
 
<div class="pu-paperform-filled-in-text" style="clear: both;">
 
<div class="pu-paperform-filled-in-text" style="clear: both;">
{{{Text|}}}
+
{{{Text|{{#ask: [[{{{Namn|{{PAGENAME}}}}}]] [[Har AndraNamnText::+]]
 +
|?Har AndraNamnText=
 +
|mainlabel=-
 +
|sep=<br />
 +
|manysep=<br />
 +
|format=array
 +
}} }}}
 
</div>
 
</div>
 
}}
 
}}
 
</div>
 
</div>
 
</includeonly>
 
</includeonly>

Nuvarande version från 18 april 2022 kl. 20.50