Status indicators
From Create Your Own Story
(Difference between revisions)
m |
|||
| Line 33: | Line 33: | ||
Category: [[name of story you're working on]] | Category: [[name of story you're working on]] | ||
| + | This is what a status indicator looks like without the magic: | ||
| + | <pre><nowiki> | ||
| + | </p> | ||
| + | <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> | ||
| + | </nowiki> | ||
| + | </pre> | ||
"Of course, you can change the variables around to suit your liking. Ready for your next leasson?" | "Of course, you can change the variables around to suit your liking. Ready for your next leasson?" | ||
Revision as of 13:46, 1 April 2010
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:
</p>
<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>
"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.
