Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Character infobox: Difference between revisions

Template page
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<templatestyles src="Template:Character_infobox/styles.css" />
{| class="infobox" style="width: 250px; font-size: 90%; border: 1px solid #aaa; background-color: #f9f9f9;"
<div class="infobox-div">
|-
    <div class="infobox-div-title">{{{name|{{PAGENAME}}}}}</div>
! colspan="2" style="text-align:center; background-color:#ccc;" | {{{name|<i>İsimsiz</i>}}}
 
|-
    {{#if: {{{image|}}} |
| colspan="2" style="text-align:center;" | [[File:{{{image|Placeholder.png}}}|200px]]
    <div class="infobox-div-image">
|-
        [[File:{{{image}}}|288px]]
! Gerçek Adı:
        {{#if: {{{caption|}}} |
| {{{realname|Bilinmiyor}}}
        <div class="infobox-div-caption">{{{caption}}}</div>
|-
        }}
! Cinsiyet:
    </div>
| {{{gender|Bilinmiyor}}}
    }}
|-
 
! Tür:
    {{#if: {{{race|}}} |
| {{{species|Bilinmiyor}}}
    <div class="infobox-div-row">
|-
        <div class="infobox-div-label">Race</div>
! Rol:
        <div class="infobox-div-data">{{{race}}}</div>
| {{{role|Bilinmiyor}}}
    </div>
|-
    }}
! İlk Görünüm:
 
| {{{firstappearance|Bilinmiyor}}}
    {{#if: {{{affiliation|}}} |
|-
    <div class="infobox-div-row">
! Seslendiren:
        <div class="infobox-div-label">Affiliation</div>
| {{{voicedby|Bilinmiyor}}}
        <div class="infobox-div-data">{{{affiliation}}}</div>
|}
    </div>
</includeonly>
    }}
 
    {{#if: {{{title|}}} |
    <div class="infobox-div-row">
        <div class="infobox-div-label">Title</div>
        <div class="infobox-div-data">{{{title}}}</div>
    </div>
    }}
</div>
 
<noinclude>
<noinclude>
Bu şablon, karakter sayfaları için bilgi kutusudur. Kullanım:
Bu, karakterler için bir bilgi kutusu şablonudur.


```wikitext
<templatedata>
{{CharacterInfobox
{
| name = Karakter Adı
  "description": "Creates a standard information box for characters.",
| image = karakter.jpg
  "format": "block",
| realname = Gerçek Adı
  "params": {
| gender = Kadın
    "name": {
| species = İnsan
      "label": "Character Name",
| role = Ana Karakter
      "description": "The full name of the character.",
| firstappearance = Oyun 1
      "type": "string",
| voicedby = Seslendirmen
      "suggested": true
}}
    },
    "image": {
      "label": "Image",
      "description": "Image file name from the wiki (e.g., Geralt.png).",
      "type": "wiki-file-name",
      "suggested": true
    },
    "caption": {
      "label": "Image Caption",
      "description": "Text to display under the image.",
      "type": "string"
    },
    "race": {
      "label": "Race",
      "description": "The character's race (e.g., Human, Elf).",
      "type": "string"
    },
    "affiliation": {
      "label": "Affiliation",
      "description": "Groups or factions the character belongs to.",
      "type": "string"
    },
    "title": {
      "label": "Title",
      "description": "The character's title (e.g., King of Gondor).",
      "type": "string"
    }
  }
}
</templatedata>
[[Category:Infobox templates]]
</noinclude>

Latest revision as of 21:30, 12 June 2025

Character infobox






Bu, karakterler için bir bilgi kutusu şablonudur.

<templatedata> {

 "description": "Creates a standard information box for characters.",
 "format": "block",
 "params": {
   "name": {
     "label": "Character Name",
     "description": "The full name of the character.",
     "type": "string",
     "suggested": true
   },
   "image": {
     "label": "Image",
     "description": "Image file name from the wiki (e.g., Geralt.png).",
     "type": "wiki-file-name",
     "suggested": true
   },
   "caption": {
     "label": "Image Caption",
     "description": "Text to display under the image.",
     "type": "string"
   },
   "race": {
     "label": "Race",
     "description": "The character's race (e.g., Human, Elf).",
     "type": "string"
   },
   "affiliation": {
     "label": "Affiliation",
     "description": "Groups or factions the character belongs to.",
     "type": "string"
   },
   "title": {
     "label": "Title",
     "description": "The character's title (e.g., King of Gondor).",
     "type": "string"
   }
 }

} </templatedata>