Template:PersonPage: Difference between revisions
Template page
More actions
Tag: Undo |
No edit summary |
||
| Line 1: | Line 1: | ||
< | <includeonly> | ||
<div class=" | <div class="profile-card"> | ||
<div class="profile-header" style="background-image: url({{#if:{{{cover|}}} | {{filepath:{{{cover}}} }} | https://images.unsplash.com/photo-1579546929518-9e396f3cc809?q=80&w=1000&auto=format&fit=crop }});"> | |||
<div class="profile-hero-content"> | |||
<div class="profile-avatar"> | |||
[[File:{{#if:{{{image|}}}|{{{image}}}|Default_user_icon.svg}} |link=|frameless|center|200px]] | |||
</div> | |||
<div class="profile-titles"> | |||
<div class="profile-name">{{{name|{{PAGENAME}}}}}</div> | |||
{{#if:{{{title|}}}|<div class="profile-role">{{{title}}}</div>}} | |||
</div> | |||
</div> | |||
</div> | |||
<div class=" | <div class="profile-data"> | ||
<div | {{#if:{{{birth_name|}}}| | ||
<div class="profile-row"> | |||
< | <span class="profile-label">Full Name</span> | ||
<span class="profile-value">{{{birth_name}}}</span> | |||
</div> | </div> | ||
}} | |||
< | {{#if:{{{born|}}}| | ||
< | <div class="profile-row"> | ||
<span class="profile-label">Born</span> | |||
<span class="profile-value">{{{born}}}</span> | |||
</div> | |||
}} | |||
{{#if:{{{nationality|}}}| | |||
< | <div class="profile-row"> | ||
{{{ | <span class="profile-label">Nationality</span> | ||
<span class="profile-value">{{{nationality}}}</span> | |||
</div> | |||
}} | |||
{{#if:{{{occupation|}}}| | |||
<div class="profile-row"> | |||
<span class="profile-label">Occupation</span> | |||
<span class="profile-value">{{{occupation}}}</span> | |||
</div> | |||
}} | |||
{{#if:{{{years_active|}}}| | |||
<div class="profile-row"> | |||
<span class="profile-label">Active</span> | |||
<span class="profile-value">{{{years_active}}}</span> | |||
</div> | |||
}} | |||
{{#if:{{{website|}}}| | |||
<div class="profile-row"> | |||
<span class="profile-label">Website</span> | |||
<span class="profile-value">{{{website}}}</span> | |||
</div> | </div> | ||
}} | |||
</div> | </div> | ||
</div> | </div> | ||
</includeonly><noinclude> | |||
<div style="padding:20px; background:#f0f0f0;"> | |||
'''Template Preview:'''<br> | |||
{{Infobox_Person | |||
| name = John Doe | |||
| title = Software Engineer | |||
| image = Example.jpg | |||
| cover = | |||
| birth_name = Jonathan Doe | |||
| born = 12 Jan 1990 | |||
| nationality = American | |||
| occupation = Developer | |||
| years_active = 2010–Present | |||
| website = [https://example.com example.com] | |||
}} | |||
</div> | |||
</noinclude> | |||
Revision as of 15:59, 25 November 2025
Template Preview:
Template:Infobox Person