Template:ShroomCYOA

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

ShroomCYOA

This is a tech demo based on Lakituthequick (talk)'s model. It will help streamline the COYA process and make things run smoothly.

Here is a list of parameters, with an example at the end:

id - The name of the event. This must be present otherwise things will not work properly.

first - An optional parameter. This designates whether it is the card to show first. Note: if there is more than one template using this parameter on the same page, then both events will display. Having one only is highly recommended. 

image - An optional parameter. If there is an image, you can use this parameter to specify what it is and any image options (i.e, caption, dimensions, etc.)

text - An optional parameter. This is for the event text. For whatever situation is occurring, this can be used to express additional context. If this parameter is not used, then there will be no text. 

link# - This defines a pointer for the event. Pass in the id of another event and this will link to that. Can use as many as needed (link1, link2, etc.)

icon# - An optional parameter. If you wish to use a separate icon instead of the default, you can specify the image with any options. This should match the link parameter (i.e, icon2 will replace the icon for link2). 

{{ShroomCYOA
|id=Lakituthequick
|text={{User|Lakituthequick}} constructed a wonderful demo to make everything work. To the viewer, it acts as if they were being linked to separate pages, but the content is all on one page. This will help us debug and edit as necessary without losing track of anything.
|link1=[[#Maid-a Knight|Who made this template?]]
|link2=[[#CYOA Demo|Go back to CYOA demo home.]]
|icon2=[[File:Return Postage.png]]
}}

ShroomTTYD-Hand.png Who made this template?
ShroomTTYD-Hand.png Who made the original code?

Maid-a Knight

Shroom2024 MetaKnight.png

This was drawn by GBA (talk) for Secret Satan 2023, going on with the running gag of Meta Knight (talk) cleaning up the board from all of the Issue 200 applications.

ShroomTTYD-Hand.png Who made the original code?
Sprite of the Return Postage badge in Paper Mario: The Thousand-Year Door. Go back to CYOA demo home.

Lakituthequick

Lakituthequick (talk) constructed a wonderful demo to make everything work. To the viewer, it acts as if they were being linked to separate pages, but the content is all on one page. This will help us debug and edit as necessary without losing track of anything.

ShroomTTYD-Hand.png Who made this template?
ShroomTTYD-Hand.png Learn more about LTQ.
Sprite of the Return Postage badge in Paper Mario: The Thousand-Year Door. Go back to CYOA demo home.