Template:AuthorCard: Difference between revisions

From AbhiprayaVedi
mNo edit summary
Tag: 2017 source edit
mNo edit summary
Tag: 2017 source edit
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<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;">
<templatestyles src="Template:AuthorCard/styles.css" />
 
<div class="author-card">
  <!-- ഫോട്ടോ ഉണ്ടെങ്കിൽ കാണിക്കുക -->
   <div class="author-photo">
  {{#if: {{{AuthorPhoto|}}} |
     [[File:{{{photo|}}}|150px]]
    <div class="author-card-photo" style="margin-bottom: 10px;">
   </div>
      {{{AuthorPhoto|}}}
   <div class="author-info">
    </div>
     <h3 class="author-name">{{{name|}}}</h3>
  }}
    <h4 class="author-display">{{{displayname|}}}</h4>
 
     <p class="author-bio">{{{bio|}}}</p>
   <!-- എഴുത്തുകാരന്റെ പേര് -->
   </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>
</includeonly>

Latest revision as of 12:46, 8 June 2026


[[|{{{1}}}]]