story_parts

story_parts(question) — display the number of comics in the current story

Description

This tag displays the number of comics in the current storyline.

For storylines that have no end (because they're still in progress, for example), this tag displays a string determined by the unknown argument, a question mark by default.

Usage

Example A.23. Basic Usage

See story_part.


Example A.24. Advanced Usage

<span>Part <?php story_part() ?> of <?php story_parts('an ongoing story') ?></span>>Start of this story</a>

This would produce the following output:

<span>Part 2 of an ongoing story</span>

Arguments

argument type default description
question string ? (question mark) Text to display if the current storyline has no end and is still in progress.