what-did-they-say/classes/partials/_shortcodes-info.inc

58 lines
3.3 KiB
PHP
Raw Normal View History

2009-09-23 02:30:16 +00:00
<?php if (current_user_can('submit_transcriptions')) { ?>
2009-09-23 02:41:26 +00:00
<h3><?php _e('Shortcodes Info', 'what-did-they-say') ?></h3>
<p>
<em>(<?php _e('you can easily use these shortcodes with the appropriate buttons above all transcript editors', 'what-did-they-say') ?>)</em>
</p>
2009-09-23 02:41:26 +00:00
<h4><?php _e('Sample Transcript', 'what-did-they-say') ?></h4>
<pre>
[scene-heading]Ext. The Old Man's House[/scene-heading]
[scene-action]John is walking down to the car parked in the driveway.[/scene-action]
[dialog name="John" direction="(towards the house)"]Hey, where are the keys?[/dialog]
</pre>
<div class="transcript">
<div class="scene-heading">Ext. The Old Man's House</div>
<div class="scene-action">John is walking down to the car parked in the driveway.</div>
<div class="dialog">
<span class="name">John</span>
<span class="direction">(towards the house)</span>
<span class="speech">Hey, where are the keys?</span>
2009-09-23 02:41:26 +00:00
</div>
</div>
<h4><?php _e('Shortcode Details', 'what-did-they-say') ?></h4>
2009-09-23 02:30:16 +00:00
<p>
2009-09-23 02:41:26 +00:00
<?php _e('Transcripts can be entered either using straight HTML or by using shortcodes built for <strong>What Did They Say?!?</strong>', 'what-did-they-say') ?>
2009-09-23 02:30:16 +00:00
<?php _e('Using shortcodes will make your transcripts easier to style.', 'what-did-they-say') ?>
2009-09-23 02:41:26 +00:00
<?php _e('The default styles that come with <strong>What Did They Say?!?</strong> make your transcripts look like a screenplay.', 'what-did-they-say') ?>
2009-09-23 02:30:16 +00:00
</p>
<h4><?php _e('Available Shortcodes', 'what-did-they-say') ?></h4>
<h5><?php _e('[scene-heading]', 'what-did-they-say') ?></h5>
<p><?php _e('The text that indicates a new scene:', 'what-did-they-say') ?></p>
<p>
<?php _e('<code>[scene-heading]Ext. The Old Man\'s House[/scene-heading]</code> becomes:', 'what-did-they-say') ?>
<span style="text-transform: uppercase; font-weight: bold; font-family: 'Courier New'"><?php _e('Ext. The Old Man\'s House', 'what-did-they-say') ?></span>
</p>
<h5><?php _e('[scene-action]', 'what-did-they-say') ?></h5>
<p><?php _e('The text that indicates action taking place in a scene. One usually occurs underneath of a scene heading:', 'what-did-they-say') ?></p>
<p>
<?php _e('<code>[scene-action]John is walking down to the car parked in the driveway.[/scene-action]</code> becomes:', 'what-did-they-say') ?>
<span style="font-family: 'Courier New'"><?php _e('John is walking down to the car parked in the driveway.', 'what-did-they-say') ?></span>
</p>
<h5><?php _e('[dialog]', 'what-did-they-say') ?></h5>
2009-09-23 02:41:26 +00:00
<p><?php _e('The text for when a character is speaking in a scene:', 'what-did-they-say') ?></p>
2009-09-23 02:30:16 +00:00
<p>
<?php _e('<code>[dialog name="John" direction="(towards the house)"]Hey, where are the keys?[/dialog]</code> becomes:', 'what-did-they-say') ?>
</p>
<div style="width: 300px; border: solid #333 1px; margin: 10px; text-align: center">
<div style="font-family: 'Courier New'; text-transform: uppercase"><?php _e('John', 'what-did-they-say') ?></div>
<div style="font-family: 'Courier New'; margin-bottom: 10px"><?php _e('(towards the house)', 'what-did-they-say') ?></div>
<div style="font-family: 'Courier New'"><?php _e('Hey, where are the keys?', 'what-did-they-say') ?></div>
</div>
<?php } ?>