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
 
(9 intermediate revisions by the same user not shown)
Line 2: Line 2:
<div class="infobox-div">
<div class="infobox-div">
     <div class="infobox-div-title">{{{name|{{PAGENAME}}}}}</div>
     <div class="infobox-div-title">{{{name|{{PAGENAME}}}}}</div>
{{#if: {{{image|}}} |
 
    {{#if: {{{image|}}} |
     <div class="infobox-div-image">
     <div class="infobox-div-image">
         [[File:{{{image}}}|288px]]
         [[File:{{{image}}}|288px]]
         {{#if: {{{caption|}}} |
         {{#if: {{{caption|}}} |
            <div class="infobox-div-caption">{{{caption}}}</div>
        <div class="infobox-div-caption">{{{caption}}}</div>
         }}
         }}
     </div>
     </div>
}}
    }}
<div class="infobox-div-header">General Information</div>
 
{{#if: {{{race|}}} |
    {{#if: {{{race|}}} |
     <div class="infobox-div-row">
     <div class="infobox-div-row">
         <div class="infobox-div-label">Race</div>
         <div class="infobox-div-label">Race</div>
         <div class="infobox-div-data">{{{race}}}</div>
         <div class="infobox-div-data">{{{race}}}</div>
     </div>
     </div>
}}
    }}
{{#if: {{{affiliation|}}} |
 
    {{#if: {{{affiliation|}}} |
     <div class="infobox-div-row">
     <div class="infobox-div-row">
         <div class="infobox-div-label">Affiliation</div>
         <div class="infobox-div-label">Affiliation</div>
         <div class="infobox-div-data">{{{affiliation}}}</div>
         <div class="infobox-div-data">{{{affiliation}}}</div>
     </div>
     </div>
}}
    }}
{{#if: {{{weapon|}}} |
 
    {{#if: {{{title|}}} |
     <div class="infobox-div-row">
     <div class="infobox-div-row">
         <div class="infobox-div-label">Weapon</div>
         <div class="infobox-div-label">Title</div>
         <div class="infobox-div-data">{{{weapon}}}</div>
         <div class="infobox-div-data">{{{title}}}</div>
     </div>
     </div>
}}
    }}
</div><noinclude>
</div>
{{documentation}}
 
<noinclude>
Bu, karakterler için bir bilgi kutusu şablonudur.
 
<templatedata>
<templatedata>
{
{
    "params": {
  "description": "Creates a standard information box for characters.",
        "name": { "label": "Name", "description": "The full name of the character or race.", "type": "line" },
  "format": "block",
        "image": { "label": "Image", "description": "Filename of an image, e.g., Character.jpg.", "type": "wiki-file-name" },
  "params": {
        "caption": { "label": "Image Caption", "description": "A brief description to display under the image.", "type": "string" },
    "name": {
        "race": { "label": "Race", "description": "The character's race.", "type": "line" },
      "label": "Character Name",
        "affiliation": { "label": "Affiliation", "description": "Groups or factions.", "type": "line" },
      "description": "The full name of the character.",
        "weapon": { "label": "Weapon", "description": "Primary weapon of the character.", "type": "line" }
      "type": "string",
      "suggested": true
     },
     },
     "description": "Creates a standard information box for characters or races.",
     "image": {
     "format": "block"
      "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>
</templatedata>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</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>