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
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|}}} |
|-
    <div class="infobox-div-image">
| colspan="2" style="text-align:center;" | [[File:{{{image|Placeholder.png}}}|200px]]
        [[File:{{{image}}}|288px]]
|-
        {{#if: {{{caption|}}} |
! Gerçek Adı:
            <div class="infobox-div-caption">{{{caption}}}</div>
| {{{realname|Bilinmiyor}}}
        }}
|-
    </div>
! Cinsiyet:
| {{{gender|Bilinmiyor}}}
|-
! Tür:
| {{{species|Bilinmiyor}}}
|-
! Rol:
| {{{role|Bilinmiyor}}}
|-
! İlk Görünüm:
| {{{firstappearance|Bilinmiyor}}}
|-
! Seslendiren:
| {{{voicedby|Bilinmiyor}}}
|}
</includeonly>
<noinclude>
Bu şablon, karakter sayfaları için bilgi kutusudur. Kullanım:
 
```wikitext
{{CharacterInfobox
| name = Karakter Adı
| image = karakter.jpg
| realname = Gerçek Adı
| gender = Kadın
| species = İnsan
| role = Ana Karakter
| firstappearance = Oyun 1
| voicedby = Seslendirmen
}}
}}
{{#if: {{{race|}}} |
    <div class="infobox-div-row">
        <div class="infobox-div-label">Race</div>
        <div class="infobox-div-data">{{{race}}}</div>
    </div>
}}
{{#if: {{{affiliation|}}} |
    <div class="infobox-div-row">
        <div class="infobox-div-label">Affiliation</div>
        <div class="infobox-div-data">{{{affiliation}}}</div>
    </div>
}}
{{#if: {{{title|}}} |
    <div class="infobox-div-row">
        <div class="infobox-div-label">Title</div>
        <div class="infobox-div-data">{{{title}}}</div>
    </div>
}}
</div><noinclude>
<templatedata>
{
"params": {
"name": {
"label": "Character Name",
"description": "The full name of the character.",
"type": "line",
"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": "line"
},
"affiliation": {
"label": "Affiliation",
"description": "Groups or factions the character belongs to.",
"type": "line"
},
"title": {
"label": "Title",
"description": "The character's title (e.g., King of Gondor).",
"type": "line"
}
},
"description": "Creates a standard information box for characters.",
"format": "block"
}
</templatedata>
[[Category:Infobox templates]]
</noinclude>

Revision as of 21:19, 12 June 2025

Character infobox



<templatedata> { "params": { "name": { "label": "Character Name", "description": "The full name of the character.", "type": "line", "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": "line" }, "affiliation": { "label": "Affiliation", "description": "Groups or factions the character belongs to.", "type": "line" }, "title": { "label": "Title", "description": "The character's title (e.g., King of Gondor).", "type": "line" } }, "description": "Creates a standard information box for characters.", "format": "block" } </templatedata>