Status indicators
From Create Your Own Story
The genie nods. "A page with a status indicator looks very similar to any other page, but with an added line of code." He summons an image:
Page text here
Do you:
*[[Adventure/Option 1]]
*[[Adventure/Option 2]]
*[[Adventure/Option 3]]
{{Status|Equipment=''Equipment''|Health=#|MP=#|Level=#}}
[[Category: name of story you're working on]]
"On a page, the syntax will look like this:"
Page text here
Do you:
| Status | ||
| Health | # | Equipment:
Equipment |
| MP | # | |
| Level | # | |
Category: name of story you're working on
This is what a status indicator looks like without the magic:
<table width="100%">
<tr>
<td bgcolor="#LLCLL" valign="top" width="100%" colspan="3"> <b>Status</b>
</td></tr>
<tr>
<td bgcolor="#OOFOO" valign="top" width="8%"> Health
</td><td bgcolor="#DDFDD" valign="top" width="8%"> {{{Health}}}
</td><td bgcolor="#GGFGG" valign="top" width="84%" rowspan="3"> Equipment:
<p>{{{Equipment}}}
</p>
</td></tr>
<tr>
<td bgcolor="#OOFOO" valign="top"> MP
</td><td bgcolor="#DDFDD" valign="top"> {{{MP}}}
</td></tr>
<tr>
<td bgcolor="#OOFOO" valign="top"> Level
</td><td bgcolor="#DDFDD" valign="top"> {{{Level}}}
</td></tr></table>
Although this may look complicated I can show you the parts that really matter. The rest leave the same unless you are REALLY good at coding.
Leave the same. <table width="100%">
Leave the same. <<tr>
Variables for you. <td bgcolor="#LLCLL" valign="top" width="100%" colspan="3"> <b>Status</b>
Leave the same. <</td></tr>
Leave the same. <<tr>
Variables for you. <<td bgcolor="#OOFOO" valign="top" width="8%"> Health
Variables for you. </td><td bgcolor="#DDFDD" valign="top" width="8%"> {{{Health}}}
Variables for you. </td><td bgcolor="#GGFGG" valign="top" width="84%" rowspan="3"> Equipment:
Variables for you. <p>{{{Equipment}}}
Leave the same. </p>
Leave the same. </td></tr>
Leave the same. <tr>
Variables for you. <td bgcolor="#OOFOO" valign="top"> MP
Variables for you. </td><td bgcolor="#DDFDD" valign="top"> {{{MP}}}
Leave the same. </td></tr>
Leave the same. <tr>
Variables for you. <td bgcolor="#OOFOO" valign="top"> Level
Variables for you. </td><td bgcolor="#DDFDD" valign="top"> {{{Level}}}
Leave the same. </td></tr></table>
"Of course, you can change the variables around to suit your liking. Ready for your next leasson?"
"I think I get it so far," you say.
