Jump to content

Template:Infobox item: Difference between revisions

From Caseyverse Wiki
m 1 revision imported
No edit summary
 
Line 1: Line 1:
<onlyinclude><includeonly>
<!-- Fictional Item Infobox Template -->
<infobox>
{{#if: {{{title|}}} | <!-- Begin infobox only if a title is provided -->
  <title source="title">
{{Infobox
    <default>{{PAGENAME}}</default>
|title = {{{title|Unknown Item}}}
  </title>
|image = {{{picture|No image available.png}}}
  <image source="image">
|caption = {{{caption|}}}
    <caption source="caption-image"/>
|desperation = {{{desperation|}}}
  </image>
|manufacture = {{{manufacture|Unknown}}}
  <data source="type">
|distributor = {{{distributor|Unknown}}}
    <label>Type</label>
|irl_patent = {{{irl_patent|No patent available}}}
  </data>
|rarity = {{{rarity|Common}}}
  <data source="effects">
|notable_users = {{{notable_users|None}}}
    <label>Effects</label>
}}
  </data>
}}
  <group>
<noinclude>
    <header>Acquisition</header>
== Template Documentation ==
    <data source="source">
This template is for displaying information about a fictional item in an infobox format.
      <label>Source</label>
 
    </data>
=== Parameters ===
    <data source="owners">
* '''title''' - The name of the fictional item.
      <label>Owner(s)</label>
* '''picture''' - Filename of an image associated with the item (e.g., "Example.jpg"). If left blank, a placeholder text will appear.
    </data>
* '''caption''' - Optional text to describe the image.
    <data source="buy">
* '''desperation''' - A unique rating or description to represent the level of "desperation" involved with the item's use or acquisition.
      <label>Cost to buy</label>
* '''manufacture''' - Name of the fictional manufacturer.
    </data>
* '''distributor''' - Name of the distributor responsible for bringing this item to the fictional world.
    <data source="sell">
* '''irl_patent''' - Link to a real-world patent or multiple patents that inspired or were used in designing this fictional item. Since this is for a fictional universe, it's recommended to use older, expired design patents that are in the public domain. Format like this: [https://patents.google.com/patent/US123456 Example Patent].
      <label>Cost to sell</label>
* '''rarity''' - Indication of how common or rare the item is within the fictional universe.
    </data>
* '''notable_users''' - List of key characters, organizations, or groups who have notably used the item.
  </group>
 
  <group>
=== Usage ===
    <header>Reference</header>
Copy and paste the following code and customize each parameter as needed:
    <data source="anime">
<nowiki>
      <label>Anime</label>
{{Item Infobox
    </data>
|title =  
    <data source="game">
|picture =
      <label>Game</label>
|caption =
    </data>
|desperation =  
    <data source="novel">
|manufacture =  
      <label>Novel</label>
|distributor =  
    </data>
|irl_patent =  
    <data source="comic">
|rarity =  
      <label>Comic</label>
|notable_users =  
    </data>
}}
    <data source="manga">
</nowiki>
      <label>Manga</label>
 
    </data>
</noinclude>
    <data source="manhua">
      <label>Manhua</label>
    </data>
    <data source="manhwa">
      <label>Manhwa</label>
    </data>
    <data source="movie">
      <label>Movie</label>
    </data>
    <data source="tv">
      <label>TV show</label>
    </data>
  </group>
</infobox>
</includeonly><includeonly>{{#ifeq: {{NAMESPACE}}| {{ns:0}}| [[Category:Items|{{PAGENAME}}]] }}</includeonly></onlyinclude>
{{Documentation}}

Latest revision as of 02:53, 13 November 2024


Template Documentation

[edit source]

This template is for displaying information about a fictional item in an infobox format.

Parameters

[edit source]
  • title - The name of the fictional item.
  • picture - Filename of an image associated with the item (e.g., "Example.jpg"). If left blank, a placeholder text will appear.
  • caption - Optional text to describe the image.
  • desperation - A unique rating or description to represent the level of "desperation" involved with the item's use or acquisition.
  • manufacture - Name of the fictional manufacturer.
  • distributor - Name of the distributor responsible for bringing this item to the fictional world.
  • irl_patent - Link to a real-world patent or multiple patents that inspired or were used in designing this fictional item. Since this is for a fictional universe, it's recommended to use older, expired design patents that are in the public domain. Format like this: Example Patent.
  • rarity - Indication of how common or rare the item is within the fictional universe.
  • notable_users - List of key characters, organizations, or groups who have notably used the item.

Copy and paste the following code and customize each parameter as needed: {{Item Infobox |title = |picture = |caption = |desperation = |manufacture = |distributor = |irl_patent = |rarity = |notable_users = }}