The trick here is that a wiki page section - headed by a markup-styled "title" provides the content for a variable with the same "name" as the title.
Therefore a section headed "Slide 1" on a Splash Wiki Page would populate a variable in an Splash HTML Template labeled:
<!-- Slide 1 --> Some text in this template to be replaced here, by a wiki page section headed by a markdown item "# Slide 1" <!-- /Slide 1 -->
In this way all you need to do is name a series of heading on a Splash Wiki page the same at the sections in your template and you are good to go.
# Automatic Subtitles
Sometimes however you want more fine control. for instance what if you want two variables to be subsitituted in a given section - say a:
- Title - Text
section (and both of these occur on "Slide 1". How do you do that? Well one simple way is to create an explicit title - so we would add a section:
# Slide 1 Title
and a section:
# Slide 1 Text
However this can be a bit ugly.
There are two basic techniques: - Splash Reference Links - Splash Title Metadata - Splash HTML Metadata
# Splash Template Variables
Sometimes you need more control that a whole section of HTML. You need to be able to replace an element of javascript or HTML - for this you need to create a Splash Template Variables.