Template:SocialMediaInfoboxTest: Difference between revisions

From Hardcore Wiki
Content deleted Content added
Created page with "<infobox> <title source="title"> <default>{{PAGENAME}}</default> </title> <image source="image"/> <group> <header>Information</header> <data source="aka"> <label>Alias</label> </data> <data source="pronouns"> <label>Pronouns</label> </data> <data source="years_active"> <label>Years Active</label> </data> <data source="wins_losses"> <label>Record</label> </data> <data source="first_appearance"> <label>First Appearance</label> </dat..."
 
No edit summary
 
Line 24: Line 24:
<label>Latest Appearance</label>
<label>Latest Appearance</label>
</data>
</data>
<data source="socialmedia"><label>Social Media</label>
<data source="social_media">
<label>Social Media</label>
</data>
</data>
</group>
</group>
Line 30: Line 31:
<noinclude>
<noinclude>
Example usage:<pre>
Example usage:<pre>
{{SocialMediaInfoboxTest
{{PersonInfoboxHardcore
|title=Example
|title=Example
|image=Example
|image=Example
Line 39: Line 40:
|years_active=<nowiki>####-####</nowiki>
|years_active=<nowiki>####-####</nowiki>
|wins_losses=<nowiki>#W:#L (##%)</nowiki>
|wins_losses=<nowiki>#W:#L (##%)</nowiki>
|social_media = {{socmed|yt=|twitch=|twitter=|ig=|tt=}}
|youtube=Example
|twitch=Example
|twitter=Example
|roblox=Example
|wikia account=Example
}}
}}
</pre>
</pre>
Line 78: Line 75:
"description": "The latest HC this individual appeared in",
"description": "The latest HC this individual appeared in",
"type": "line"
"type": "line"
},
"youtube": {
"label": "YouTube",
"description": "This individual's YouTube channel",
"type": "url"
},
"twitch": {
"label": "Twitch",
"description": "This individual's Twitch channel",
"type": "url"
},
"twitter": {
"label": "Twitter",
"description": "This individual's Twitter account",
"type": "url"
},
},
"image": {
"image": {
Line 98: Line 80:
"description": "The image used in the infobox",
"description": "The image used in the infobox",
"type": "wiki-file-name"
"type": "wiki-file-name"
},
"social_media": {
"label": "Social Media",
"default": "{{Socialmedia|yt=@|twitch=|twitter=|ig=|tt=|}}"
}
}
},
},
Line 108: Line 94:
"first_appearance",
"first_appearance",
"latest_appearance",
"latest_appearance",
"youtube",
"social_media"
"twitch",
"twitter"
]
]
}
}

Latest revision as of 06:04, 30 January 2024

Example usage:

{{SocialMediaInfoboxTest
|title=Example
|image=Example
|caption=Example
|aka=Example
|gender=Example
|pronouns=Example/Example
|years_active=####-####
|wins_losses=#W:#L (##%)
|social_media   = {{socmed|yt=|twitch=|twitter=|ig=|tt=}}
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

The image used in the infobox

Fileoptional
Aliasaka

Other common names used by this individual

Lineoptional
Pronounspronouns

The pronouns used by this individual

Lineoptional
Years Activeyears_active

Years this individual has been active within the community

Lineoptional
Recordwins_losses

This individual's win:loss ratio

Lineoptional
First Appearancefirst_appearance

The first HC this individual appeared in

Lineoptional
Latest Appearencelatest_appearance

The latest HC this individual appeared in

Lineoptional
Social Mediasocial_media

no description

Default
{{Socialmedia|yt=@|twitch=|twitter=|ig=|tt=|}}
Unknownoptional