Template:AuthorCard: Difference between revisions
From AbhiprayaVedi
Created page with "<includeonly> <templatestyles src="AuthorCard/styles.css" /> <div class="author-card"> <div class="author-card-image"> [[File:{{{image|}}}|120px]] </div> <div class="author-card-content"> <h3 class="author-card-name">{{{displayname|}}}</h3> <p class="author-card-bio">{{{bio|}}} </p> </div> </div> </includeonly>" Tag: 2017 source edit |
mNo edit summary Tag: 2017 source edit |
||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
< | <div class="author-card" style="border: 1px solid #ddd; padding: 15px; margin: 10px; width: 220px; float: left; border-radius: 8px; text-align: center; box-shadow: 2px 2px 5px #f0f0f0;"> | ||
< | |||
<div class="author-card"> | <!-- ഫോട്ടോ ഉണ്ടെങ്കിൽ കാണിക്കുക --> | ||
<div class="author-card- | {{#if: {{{AuthorPhoto|}}} | | ||
[[ | <div class="author-card-photo" style="margin-bottom: 10px;"> | ||
{{{AuthorPhoto|}}} | |||
</div> | |||
}} | |||
<!-- എഴുത്തുകാരന്റെ പേര് --> | |||
<h4 class="author-card-name" style="margin: 5px 0;"> | |||
[[{{{AuthorPage|}}}|{{{Displayname|{{{1}}}}}}]] | |||
</h4> | |||
<!-- ബയോ ഉണ്ടെങ്കിൽ കാണിക്കുക --> | |||
{{#if: {{{AuthorBio|}}} | | |||
<p class="author-card-bio" style="font-size: 13px; color: #666; height: 50px; overflow: hidden; margin-bottom: 10px;"> | |||
{{{AuthorBio|}}} | |||
</p> | |||
}} | |||
<!-- എക്സ്റ്റേണൽ ലിങ്ക് ഉണ്ടെങ്കിൽ മാത്രം വിക്കി സിന്റാക്സിൽ കാണിക്കുക --> | |||
{{#if: {{{AuthorsiteLink|}}} | | |||
<p class="author-card-external" style="font-size: 12px; margin-top: 5px;"> | |||
🌐 {{{AuthorsiteLink|}}} | |||
</p> | |||
}} | |||
</div> | </div> | ||