Difference between revisions of "Template:CharacterPortal"

From ShadowHaven Reloaded
Jump to navigation Jump to search
Tag: visualeditor-wikitext
Tag: visualeditor-wikitext
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{| cellpadding=5 cellspacing=0 align="center" width: 100%; style="width: 100%; border: gray 2px solid; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #222"
{| cellpadding=5 cellspacing=0 align="center" width: 100%; style="width: 100%; border: gray 2px solid; -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #222"
|-  
|-  
|
|
Line 5: Line 5:
<big>[[User:{{{User}}}|{{{User}}}]]'s Character Portal</big>
<big>[[User:{{{User}}}|{{{User}}}]]'s Character Portal</big>
<gallery mode="packed-hover" heights=100px>
<gallery mode="packed-hover" heights=100px>
{{#if: {{{Character1|}}} |{{{Picture1|File:Placeholder.png}}}|link={{{Character1}}}|<small>[[{{{Character1}}}]]</small>}}
<!-- Below here, you will need to replace the files with the file destinations for your character's portrait. Replace both the name following "Link=" as well as the name in double square brackets with the name of your character (keep the double square brackets)  -->
{{{Picture1}}}|link={{{Character1}}}|<small>[[{{{Character1}}}]]</small>
 
File:Howler.jpg |link=Howler |<small>[[Howler]]</small>
File:Trash Panda by Seru.jpg |link=Trash Panda |<small>[[Trash Panda]]</small>
File:Good Boy.jpg |link=Good Boy |<small>[[Good Boy]]</small>
File:Riot.png |link=Riot |<small>[[Riot]]</small>
File:Wildman.jpg |link=Wildman |<small>[[Wildman]]</small>
File:Hot Mess.jpg |link=Hot Mess |<small>[[Hot Mess]]</small>
 
<!-- Above here, you will need to replace the files with the file destinations for your character's portrait. Replace both the name following "Link=" as well as the name in double square brackets with the name of your character (keep the double square brackets)  -->
</gallery>
</gallery>
{{#ask: [[Category:Runs]] [[hasRunner::{{PAGENAME}}]]
{{#ifeq: {{NAMESPACE}} | |
|mainlabel=-
{{RunHistory|
|format=datatables
|Limit=1
|default=No runs yet. This list will auto-populate when this character is tagged in a run AAR.
|Team=True
|?=Name
}}
|?hasGM=GM
|?hasMetaplot=Metaplot
|?hasDate=Date of Run
|?hasRunner=Team
|limit=1
|sort=hasDate
|order=descending
}}
}}
</center>
</center>
|}</includeonly><noinclude>
|}
{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-
|
==Useage==


Generates a character portal to be used alongside [[Template:Infobox Portal]] in the page it tries to pull from.  
<!-- ONLY copy the text above this line. -->


<pre>
{{CharacterPortal|
|Character1=
|Picture1=
}}
</pre>




This means the following
<pre>
{{CharacterPortal|
|Character1=Trash Panda
|Picture1=File:Trash Panda by Seru.jpg
}}
</pre>


{| cellpadding=5 cellspacing=0 style="border: gray 2px solid; width: 100%;  -moz-border-radius: 20px; -webkit-border-radius: 25px; border-radius: 25px; background-color: #444"
|-
|
==Useage==
This template is intended to be used alongside [[Template:Infobox Portal]]. This makes use of the [https://www.mediawiki.org/wiki/Help:Images#Rendering_a_gallery_of_images Mediawiki Image Gallery] function to create a small image gallery to display your characters. Simply replace the above images seen in this example with the images for your characters, and replace the links to [[User:Teksura]]'s characters with links to your own characters.


will get you:
Once you have created this, it should be something that can be dropped on your character pages via [[Template:Infobox Portal]], or you can place it on your wiki user page.  
 
{{CharacterPortal|
|User=Teksura
|Character1=Trash Panda
|Picture1=File:Trash Panda by Seru.jpg
}}


[[Category:Character Page Templates]]
[[Category:Templates]]
[[Category:Templates]]
[[Category:Character Page Templates]]
|}
</noinclude>
</noinclude>

Latest revision as of 07:39, 29 June 2020

[[User:{{{User}}}|{{{User}}}]]'s Character Portal



Useage

This template is intended to be used alongside Template:Infobox Portal. This makes use of the Mediawiki Image Gallery function to create a small image gallery to display your characters. Simply replace the above images seen in this example with the images for your characters, and replace the links to User:Teksura's characters with links to your own characters.

Once you have created this, it should be something that can be dropped on your character pages via Template:Infobox Portal, or you can place it on your wiki user page.