Skip to content

Commit

Permalink
[e] (0) Another example for game conversations, by request.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=17993
Affected topics: HTML

git-svn-id: http://svn.whatwg.org/webapps@7464 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Oct 15, 2012
1 parent 0acc2c9 commit 0c8c2e6
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 2 deletions.
50 changes: 49 additions & 1 deletion complete.html
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 12 October 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 15 October 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -62595,6 +62595,53 @@ <h4 id=conversations><span class=secno>4.13.4 </span>Conversations</h4>

</div>

<div class=example>

<p>In some games, conversations are simpler: each character merely has a fixed set of lines that
they say. In this example, a game FAQ/walkthrough lists some of the known possible responses for
each character:</p>

<pre>&lt;section&gt;
&lt;h1&gt;Dialogue&lt;/h1&gt;
&lt;p&gt;&lt;small&gt;Some characters repeat their lines in order each time you interact
with them, others randomly pick from amongst their lines. Those who respond in
order have numbered entries in the lists below.&lt;/small&gt;
&lt;h2&gt;The Shopkeeper&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;How may I help you?
&lt;li&gt;Fresh apples!
&lt;li&gt;A loaf of bread for madam?
&lt;/ul&gt;
&lt;h2&gt;The pilot&lt;/h2&gt;
&lt;p&gt;Before the accident:
&lt;ul&gt;
&lt;/li&gt;I'm about to fly out, sorry!
&lt;/li&gt;Sorry, I'm just waiting for flight clearance and then I'll be off!
&lt;/ul&gt;
&lt;p&gt;After the accident:
&lt;ol&gt;
&lt;li&gt;I'm about to fly out, sorry!
&lt;li&gt;Ok, I'm not leaving right now, my plane is being cleaned.
&lt;li&gt;Ok, it's not being cleaned, it needs a minor repair first.
&lt;li&gt;Ok, ok, stop bothering me! Truth is, I had a crash.
&lt;/ol&gt;
&lt;h2&gt;Clan Leader&lt;/h2&gt;
&lt;p&gt;During the first clan meeting:
&lt;ul&gt;
&lt;li&gt;Hey, have you seen my daughter? I bet she's up to something nefarious again...
&lt;li&gt;Nice weather we're having today, eh?
&lt;li&gt;The name is Bailey, Jeff Bailey. How can I help you today?
&lt;li&gt;A glass of water? Fresh from the well!
&lt;/ul&gt;
&lt;p&gt;After the earthquake:
&lt;ol&gt;
&lt;li&gt;Everyone is safe in the shelter, we just have to put out the fire!
&lt;li&gt;I'll go and tell the fire brigade, you keep hosing it down!
&lt;/ol&gt;
&lt;/section&gt;</pre>

</div>


<h4 id=footnotes><span class=secno>4.13.5 </span>Footnotes</h4>

Expand Down Expand Up @@ -106047,6 +106094,7 @@ <h2 class=no-num id=references>References</h2><!--REFS-->
Ben Millard,
Benjamin Carl Wiley Sittler,
Benjamin Hawkes-Lewis,
Benoit Ren,
Bert Bos,
Bijan Parsia,
Bil Corry,
Expand Down
50 changes: 49 additions & 1 deletion index
Expand Up @@ -248,7 +248,7 @@

<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 12 October 2012</h2>
<h2 class="no-num no-toc">Living Standard &mdash; Last Updated 15 October 2012</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Expand Down Expand Up @@ -62595,6 +62595,53 @@ fur

</div>

<div class=example>

<p>In some games, conversations are simpler: each character merely has a fixed set of lines that
they say. In this example, a game FAQ/walkthrough lists some of the known possible responses for
each character:</p>

<pre>&lt;section&gt;
&lt;h1&gt;Dialogue&lt;/h1&gt;
&lt;p&gt;&lt;small&gt;Some characters repeat their lines in order each time you interact
with them, others randomly pick from amongst their lines. Those who respond in
order have numbered entries in the lists below.&lt;/small&gt;
&lt;h2&gt;The Shopkeeper&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;How may I help you?
&lt;li&gt;Fresh apples!
&lt;li&gt;A loaf of bread for madam?
&lt;/ul&gt;
&lt;h2&gt;The pilot&lt;/h2&gt;
&lt;p&gt;Before the accident:
&lt;ul&gt;
&lt;/li&gt;I'm about to fly out, sorry!
&lt;/li&gt;Sorry, I'm just waiting for flight clearance and then I'll be off!
&lt;/ul&gt;
&lt;p&gt;After the accident:
&lt;ol&gt;
&lt;li&gt;I'm about to fly out, sorry!
&lt;li&gt;Ok, I'm not leaving right now, my plane is being cleaned.
&lt;li&gt;Ok, it's not being cleaned, it needs a minor repair first.
&lt;li&gt;Ok, ok, stop bothering me! Truth is, I had a crash.
&lt;/ol&gt;
&lt;h2&gt;Clan Leader&lt;/h2&gt;
&lt;p&gt;During the first clan meeting:
&lt;ul&gt;
&lt;li&gt;Hey, have you seen my daughter? I bet she's up to something nefarious again...
&lt;li&gt;Nice weather we're having today, eh?
&lt;li&gt;The name is Bailey, Jeff Bailey. How can I help you today?
&lt;li&gt;A glass of water? Fresh from the well!
&lt;/ul&gt;
&lt;p&gt;After the earthquake:
&lt;ol&gt;
&lt;li&gt;Everyone is safe in the shelter, we just have to put out the fire!
&lt;li&gt;I'll go and tell the fire brigade, you keep hosing it down!
&lt;/ol&gt;
&lt;/section&gt;</pre>

</div>


<h4 id=footnotes><span class=secno>4.13.5 </span>Footnotes</h4>

Expand Down Expand Up @@ -106047,6 +106094,7 @@ if (s = prompt('What is your name?')) {
Ben Millard,
Benjamin Carl Wiley Sittler,
Benjamin Hawkes-Lewis,
Benoit Ren,
Bert Bos,
Bijan Parsia,
Bil Corry,
Expand Down
48 changes: 48 additions & 0 deletions source
Expand Up @@ -73206,6 +73206,53 @@ fur

</div>

<div class="example">

<p>In some games, conversations are simpler: each character merely has a fixed set of lines that
they say. In this example, a game FAQ/walkthrough lists some of the known possible responses for
each character:</p>

<pre>&lt;section>
&lt;h1>Dialogue&lt;/h1>
&lt;p>&lt;small>Some characters repeat their lines in order each time you interact
with them, others randomly pick from amongst their lines. Those who respond in
order have numbered entries in the lists below.&lt;/small>
&lt;h2>The Shopkeeper&lt;/h2>
&lt;ul>
&lt;li>How may I help you?
&lt;li>Fresh apples!
&lt;li>A loaf of bread for madam?
&lt;/ul>
&lt;h2>The pilot&lt;/h2>
&lt;p>Before the accident:
&lt;ul>
&lt;/li>I'm about to fly out, sorry!
&lt;/li>Sorry, I'm just waiting for flight clearance and then I'll be off!
&lt;/ul>
&lt;p>After the accident:
&lt;ol>
&lt;li>I'm about to fly out, sorry!
&lt;li>Ok, I'm not leaving right now, my plane is being cleaned.
&lt;li>Ok, it's not being cleaned, it needs a minor repair first.
&lt;li>Ok, ok, stop bothering me! Truth is, I had a crash.
&lt;/ol>
&lt;h2>Clan Leader&lt;/h2>
&lt;p>During the first clan meeting:
&lt;ul>
&lt;li>Hey, have you seen my daughter? I bet she's up to something nefarious again...
&lt;li>Nice weather we're having today, eh?
&lt;li>The name is Bailey, Jeff Bailey. How can I help you today?
&lt;li>A glass of water? Fresh from the well!
&lt;/ul>
&lt;p>After the earthquake:
&lt;ol>
&lt;li>Everyone is safe in the shelter, we just have to put out the fire!
&lt;li>I'll go and tell the fire brigade, you keep hosing it down!
&lt;/ol>
&lt;/section></pre>

</div>


<h4 id="footnotes">Footnotes</h4>

Expand Down Expand Up @@ -124288,6 +124335,7 @@ if (s = prompt('What is your name?')) {
Ben Millard,
Benjamin Carl Wiley Sittler,
Benjamin Hawkes-Lewis,
Benoit Ren,
Bert Bos,
Bijan Parsia,
Bil Corry,
Expand Down

0 comments on commit 0c8c2e6

Please sign in to comment.