Template:Infobox: Difference between revisions

From Chaz Wiki
Jump to navigation Jump to search
No edit summary
Blotreland (talk | contribs)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<table style="float:right;border:1px solid silver;background-color:rgb(249, 249, 249);max-width:256px;padding:5px;">
{| class="wikitable" style="width:250px;float:right;"
<caption>'''{{{name|{{PAGENAME}}}}}'''</caption>
|+ Infobox ext
<tr>
|-
<td colspan="2">[[{{{image}}}|200px|center]]</td>
| [[File:RedSyver.jpeg|200px|frameless|center|link=[[Red]]]] <br> <center>Red is usually used to represent an image in templates as he appeared in [[:Template:CardThing]] a really long time ago</center>
</tr>
|-
</table>
! Real-life information
 
|-
| '''Created''' by [[Kasper]] and [[Harrison]]<br>'''Created''' ℮ summer of 2015<br>'''Created''' for ''[[Adventures of Syver]]''<br>Based off of Mr. Shawn
|-
! In-universe information
|-
| '''Description:''' ally of [[King]] in war and government<br>'''Likes''' order<br>'''Dislikes''' ridiculousness and chaos
|}
<noinclude>
<noinclude>
Usage:
This is a example for creating a subtemplate (Template:Infobox/[YOUR NAME HERE, MUST BE LOWERCASE]).


{{Infobox
Code:


|name=OPTIONAL
<pre><nowiki>
{| class="wikitable" style="width:250px;float:right;"
|+ Infobox ext
|-
| [[File:RedSyver.jpeg|200px|frameless|center|link=[[Red]]]] <br> <center>Red is usually used to represent an image in templates as he appeared in [[:Template:CardThing]] a really long time ago</center>
|-
! Real-life information
|-
| '''Created''' by [[Kasper]] and [[Harrison]]<br>'''Created''' ℮ summer of 2015<br>'''Created''' for ''[[Adventures of Syver]]''<br>Based off of Mr. Shawn
|-
! In-universe information
|-
| '''Description:''' ally of [[King]] in war and government<br>'''Likes''' order<br>'''Dislikes''' ridiculousness and chaos
|}
</nowiki></pre>


|image=File:Example.png
Wireframe:


}}
<pre><nowiki>
{{infobox/subtemplate
|{{{name}}}
|{{{File:Image.png}}}
|{{{caption}}}
|{{{topic 1}}}
|{{{content 1}}}
|{{{content 2}}}
|{{{content 3}}}
|{{{topic 2}}}
|{{{content 1}}}
|{{{content 2}}}
|{{{content 3}}}
}
</nowiki></pre>
</noinclude>
</noinclude>

Latest revision as of 17:55, 1 July 2025

Infobox ext

Red is usually used to represent an image in templates as he appeared in Template:CardThing a really long time ago
Real-life information
Created by Kasper and Harrison
Created ℮ summer of 2015
Created for Adventures of Syver
Based off of Mr. Shawn
In-universe information
Description: ally of King in war and government
Likes order
Dislikes ridiculousness and chaos

This is a example for creating a subtemplate (Template:Infobox/[YOUR NAME HERE, MUST BE LOWERCASE]).

Code:

{| class="wikitable" style="width:250px;float:right;"
|+ Infobox ext
|-
| [[File:RedSyver.jpeg|200px|frameless|center|link=[[Red]]]] <br> <center>Red is usually used to represent an image in templates as he appeared in [[:Template:CardThing]] a really long time ago</center>
|- 
! Real-life information
|-
| '''Created''' by [[Kasper]] and [[Harrison]]<br>'''Created''' ℮ summer of 2015<br>'''Created''' for ''[[Adventures of Syver]]''<br>Based off of Mr. Shawn
|-
! In-universe information
|-
| '''Description:''' ally of [[King]] in war and government<br>'''Likes''' order<br>'''Dislikes''' ridiculousness and chaos
|}

Wireframe:

{{infobox/subtemplate
|{{{name}}}
|{{{File:Image.png}}} 
|{{{caption}}}
|{{{topic 1}}}
|{{{content 1}}}
|{{{content 2}}}
|{{{content 3}}}
|{{{topic 2}}}
|{{{content 1}}}
|{{{content 2}}}
|{{{content 3}}}
}