Jump to content

Template:Infobox Character: Difference between revisions

From BarkWiki
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
=== Usage ===
=== Usage ===


<nowiki>{{Template:Infobox Character
<code><nowiki>
{{Template:Infobox Character
|title=
|title=
|image=
|image=
Line 11: Line 12:
|interests=
|interests=
|personality=
|personality=
}}</nowiki>
}}
</nowiki></code>


Or simply:
Or simply:


<nowiki>{{Template:Infobox Character
<code><nowiki>
{{Template:Infobox Character
|title=Character Name
|title=Character Name
|image=Character image.jpg
|image=Character image.jpg
Line 22: Line 25:
|interests=List of interests
|interests=List of interests
|personality=Personality traits
|personality=Personality traits
}}</nowiki>
}}
</nowiki></code>


=== Parameters ===
=== Parameters ===
Line 51: Line 55:
: '''Type:''' Text
: '''Type:''' Text
: '''Description:''' Key personality traits or characteristics
: '''Description:''' Key personality traits or characteristics
; sexual
: '''Type:''' Text
: '''Description:''' The character's sexual preferences and preferred activity


=== Examples ===
=== Examples ===


==== Basic Usage ====
==== Basic Usage ====
<nowiki>{{Template:Infobox Character
{{Template:Infobox Character
|title=Example Character
|title=Example Character
|image=Example.png
|image=Example.png
Line 62: Line 70:
|interests=Reading, painting, music
|interests=Reading, painting, music
|personality=Friendly, thoughtful, reserved
|personality=Friendly, thoughtful, reserved
}}</nowiki>
}}


==== Using Page Name ====
==== Using Page Name ====
When placed on a character page, the <code>title</code> parameter can be omitted to automatically use the page name:
When placed on a character page, the <code>title</code> parameter can be omitted to automatically use the page name:


<nowiki>{{Template:Infobox Character
{{Template:Infobox Character
|image=Character.jpg
|image=Character.jpg
|species=Dwarf
|species=Dwarf
Line 73: Line 81:
|interests=Mining, smithing, ale
|interests=Mining, smithing, ale
|personality=Brave, loyal, gruff
|personality=Brave, loyal, gruff
}}</nowiki>
}}


=== Categories ===
=== Categories ===
Line 79: Line 87:


</noinclude>
</noinclude>
<infobox><title source="title"><default>{{PAGENAME}}</default></title><image source="image"/><header>Basic information</header><data source="species"><label>Species</label></data><data source="attire"><label>Attire</label></data><data source="interests"><label>Interests</label></data><data source="personality"><label>Personality:</label></data><data source="sexual"><label>Sexual</label></data></infobox>
<infobox>
  <title source="title">
    <default>{{PAGENAME}}</default>
  </title>
  <image source="image"/>
  <header>Basic information</header>
  <data source="species">
    <label>Species</label>
  </data>
  <data source="attire">
    <label>Attire</label>
  </data>
  <data source="interests">
    <label>Interests</label>
  </data>
  <data source="personality">
    <label>Personality</label>
  </data>
  <data source="sexual">
    <label>Sexual</label>
  </data>
</infobox>

Latest revision as of 22:48, 20 July 2026

Character Infobox Template Documentation[edit source]

Usage[edit source]

{{Template:Infobox Character |title= |image= |species= |attire= |interests= |personality= }}

Or simply:

{{Template:Infobox Character |title=Character Name |image=Character image.jpg |species=Human, Elf, etc. |attire=Description of clothing |interests=List of interests |personality=Personality traits }}

Parameters[edit source]

title
Type: Text
Default: Infobox Character (the page name)
Description: The character's name displayed at the top of the infobox
image
Type: Image filename
Description: Character portrait or image. Use format: Filename.jpg
Note: Images are automatically resized to 300px width
species
Type: Text
Description: The character's species or race
attire
Type: Text
Description: Description of the character's typical clothing or appearance
interests
Type: Text or list
Description: Hobbies, interests, or favorite activities of the character
personality
Type: Text
Description: Key personality traits or characteristics
sexual
Type: Text
Description: The character's sexual preferences and preferred activity

Examples[edit source]

Basic Usage[edit source]

Using Page Name[edit source]

When placed on a character page, the title parameter can be omitted to automatically use the page name:


Categories[edit source]