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
Created page with "<templatestyles src="Template:Character_infobox/styles.css" /> {| class="character-infobox" ! colspan="2" class="infobox-title" | {{{name|{{PAGENAME}}}}} {{#if: {{{image|}}} | |- | colspan="2" class="infobox-image" | [[File:{{{image}}}|290px]] {{#if: {{{caption|}}} | |- | colspan="2" class="infobox-caption" | {{{caption}}} }} }} {{#if: {{{race|}}} | |- ! scope="row" class="infobox-label" | Race | class="infobox-data" | {{{race}}} }} {{#if: {{{affiliation|}}} |..."
 
Tag: Reverted
Line 23: Line 23:
{{documentation}}
{{documentation}}
Bu şablon, karakter sayfaları için bir bilgi kutusu oluşturur.
Bu şablon, karakter sayfaları için bir bilgi kutusu oluşturur.
==Kullanım==
Bu şablon, bir karakter hakkında özet bilgileri sağlayan bir kutu ekler. VisualEditor ile kullanıldığında, parametreleri doldurmak için bir form sunar.


<pre>
<pre>

Revision as of 20:05, 12 June 2025

Character infobox

- -

scope="row" class="infobox-label"

-

scope="row" class="infobox-label"

Template:Documentation Bu şablon, karakter sayfaları için bir bilgi kutusu oluşturur.

{{Character infobox
| name = Karakterin Tam Adı
| image = ResimDosyası.jpg
| caption = Resmin altında görünecek yazı
| race = Karakterin ırkı
| affiliation = Dahil olduğu gruplar
}}

<templatedata> { "params": { "name": { "label": "Name", "description": "The full name of the character or race. If left blank, it will use the page title.", "type": "line", "suggested": true }, "image": { "label": "Image", "description": "Filename of an image, e.g., Character.jpg. Do not include 'File:'.", "type": "wiki-file-name", "suggested": true }, "caption": { "label": "Image Caption", "description": "A brief description to display under the image.", "type": "string" }, "race": { "label": "Race", "description": "The character's race (e.g., Human, Elf, Orc).", "type": "line", "example": "Human (Dúnedain)" }, "affiliation": { "label": "Affiliation", "description": "Groups or factions the character is affiliated with.", "type": "string", "example": "Fellowship of the Ring" } }, "description": "This template creates a standard information box for characters or races.", "format": "block" } </templatedata>