Thanks for using our site!

If you're looking to become an editor, please read the Becoming an Editor section carefully.

Template:HMDSEvent: Difference between revisions

From ranchstory
Jump to navigationJump to search
imported>Kiwibasket
mNo edit summary
imported>Kiwibasket
mNo edit summary
 
(8 intermediate revisions by the same user not shown)
Line 55: Line 55:
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=ccc|Purple=d8a7f2|Blue=93aef6|Yellow=f5f663|Red=ff8989|Marriage=ff96bb|Town=ffd962|Rival=73dd63}}; border: 1px solid #4f4f4f;" width=28% | '''Prerequisites'''
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=ccc|Purple=d8a7f2|Blue=93aef6|Yellow=f5f663|Red=ff8989|Marriage=ff96bb|Town=ffd962|Rival=73dd63}}; border: 1px solid #4f4f4f;" width=28% | '''Prerequisites'''
|-
|-
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=e5e5e5|Purple=f2e3fb|Blue=dfe7ff|Yellow=f6f6c9|Red=f9d5d5|Marriage=ffd8e2|Town=fdf1cc|Rival=c5f6bd}}; border: 1px solid #4f4f4f;" colspan="2" rowspan="3" | {{#if:{{{LOCATIONSPECIFIC|}}} | {{{LOCATIONSPECIFIC}}} | [[{{{LOCATION}}} (Harvest Moon: DS)|{{{LOCATION}}}]] }} {{#if:{{{FLOOR|}}} | {{{FLOOR}}} }}
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=e5e5e5|Purple=f2e3fb|Blue=dfe7ff|Yellow=f6f6c9|Red=f9d5d5|Marriage=ffd8e2|Town=fdf1cc|Rival=c5f6bd}}; border: 1px solid #4f4f4f;" colspan="2" rowspan="3" | {{#if:{{{LOCATIONSPECIFIC|}}} | {{{LOCATIONSPECIFIC}}} | [[{{{LOCATION}}} (Harvest Moon: DS)|{{{LOCATION}}}]] }}{{#if:{{{FLOOR|}}} | , {{{FLOOR}}} }}
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=ccc|Purple=d8a7f2|Blue=93aef6|Yellow=f5f663|Red=ff8989|Marriage=ff96bb|Town=ffd962|Rival=73dd63}}; border: 1px solid #4f4f4f;" width=15% | '''Season'''
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=ccc|Purple=d8a7f2|Blue=93aef6|Yellow=f5f663|Red=ff8989|Marriage=ff96bb|Town=ffd962|Rival=73dd63}}; border: 1px solid #4f4f4f;" width=15% | '''Season'''
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=e5e5e5|Purple=f2e3fb|Blue=dfe7ff|Yellow=f6f6c9|Red=f9d5d5|Marriage=ffd8e2|Town=fdf1cc|Rival=c5f6bd}}; border: 1px solid #4f4f4f;" {{#if:{{{DAYALL|}}}|rowspan="2" {{!}} {{{DAYALL|}}} | {{!}} {{{SEASON}}} }}
| style="background: #{{#switch:{{{EVENTTYPE}}}|Black=e5e5e5|Purple=f2e3fb|Blue=dfe7ff|Yellow=f6f6c9|Red=f9d5d5|Marriage=ffd8e2|Town=fdf1cc|Rival=c5f6bd}}; border: 1px solid #4f4f4f;" {{#if:{{{DAYALL|}}}|rowspan="2" {{!}} {{{DAYALL|}}} | {{!}} {{{SEASON}}} }}
Line 107: Line 107:
{{!}}-
{{!}}-
{{!}} style="background: #{{#switch:{{{EVENTTYPE}}}|Black=ccc|Purple=d8a7f2|Blue=93aef6|Yellow=f5f663|Red=ff8989|Marriage=ff96bb|Town=ffd962|Rival=73dd63}}; border: 1px solid #4f4f4f; {{#ifeq:{{{BOTTOMROW|}}} | Extras | border-bottom-left-radius: 10px;}} border-radius: 0px 0px 0px 10px;" {{!}} '''Extras'''
{{!}} style="background: #{{#switch:{{{EVENTTYPE}}}|Black=ccc|Purple=d8a7f2|Blue=93aef6|Yellow=f5f663|Red=ff8989|Marriage=ff96bb|Town=ffd962|Rival=73dd63}}; border: 1px solid #4f4f4f; {{#ifeq:{{{BOTTOMROW|}}} | Extras | border-bottom-left-radius: 10px;}} border-radius: 0px 0px 0px 10px;" {{!}} '''Extras'''
{{!}} style="background: #{{#switch:{{{EVENTTYPE}}}|Black=e5e5e5|Purple=f2e3fb|Blue=dfe7ff|Yellow=f6f6c9|Red=f9d5d5|Marriage=ffd8e2|Town=fdf1cc|Rival=c5f6bd}}; border: 1px solid #4f4f4f; padding: 3px 9px; {{#ifeq:{{{BOTTOMROW|}}} | Extras | border-bottom-right-radius: 10px;}}" colspan="5" align="left"{{!}} {{{EXTRAINFO}}} }}
{{!}} style="background: #{{#switch:{{{EVENTTYPE}}}|Black=e5e5e5|Purple=f2e3fb|Blue=dfe7ff|Yellow=f6f6c9|Red=f9d5d5|Marriage=ffd8e2|Town=fdf1cc|Rival=c5f6bd}}; border: 1px solid #4f4f4f; padding: 0px 9px 3px; {{#ifeq:{{{BOTTOMROW|}}} | Extras | border-bottom-right-radius: 10px;}}" colspan="5" align="left"{{!}}
{{{EXTRAINFO}}} }}
|}
|}



Latest revision as of 13:19, 19 September 2021

{{HMDSEvent
| CHARANAME=
| EVENTTYPE=
| EVENTTITLE=
| IMAGENAME=
| LOCATION=
| FLOOR=
| SEASON=
| DAY=
| TIME=
| DESCRIPTION=
| PREREQ=
* reqhere
| CHOICECATEGORY1=
| CHOICE1ENG=
| CHOICE2ENG=
| CHOICE3ENG=
| CHOICECATEGORY2=
| CATEGORY2CHOICE1ENG=
| CATEGORY2CHOICE2ENG=
| CATEGORY2CHOICE3ENG=
| CHOICECATEGORY3=
| CATEGORY3CHOICE1ENG=
| CATEGORY3CHOICE2ENG=
| CATEGORY3CHOICE3ENG=
| EXTRAINFO=
| BOTTOMROW=
}}

*VARIABLE DETAILS:*

> EVENTTYPE=Heart level (Black, Purple, Blue, Yellow, Red), Marriage, Rival, or Town
> CHARANAME and IMAGENAME go into: 
[[File:HM DS {{{CHARANAME}}} {{{IMAGENAME}}}.png|200px|frameless]]
> IMAGENAME is heart level color + H (BH, PH, BLH, YH, RH)
> Use LOCATION if the location has a page - it'll go into:
[[{{{LOCATION}}} (Harvest Moon: DS)|{{{LOCATION}}}]]
> Use LOCATIONSPECIFIC if there is no page for the location!
> BOTTOMROW=whichever row you name here will be given rounded bottom edges to match the outer border. Options include: 
Requirements/Choice 2/Choice 3/Category 2 Choice 2/Category 2 Choice 3/Category 3 Choice 2/Category 3 Choice 3/Extras

Other notes: 
For all categories, the CHOICE1ENG must be defined for both the Choice 1 and Choice 2 rows to appear. (choice 2 ain't gonna appear on its own) Similarly, the choice 3 row will only appear when you define it IF the first two rows are there already.

If you want the rows to be there but don’t have the text yet, just put in