Difference between revisions of "Template:Question-answer"

From Lojban
Jump to navigation Jump to search
m
 
m (1 revision)
Line 1: Line 1:
#REDIRECT [[jbocre: jbobau_selci%27a/ja]]
+
{{dynamic navigation
 +
|titlestyle=text-align:left;
 +
|title = {{{question|(This lesson is incomplete. Click "edit" to provide an example.)}}}
 +
|body = {{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}
 +
}}<noinclude>
 +
This template helps editors create exercises for readers. The definition is:
 +
<pre>{{dynamic navigation
 +
|titlestyle=text-align:left;
 +
|title = {{{question|(This lesson is incomplete. Click "edit" to provide an example.)}}}
 +
|body = {{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}
 +
}}</pre>
 +
 
 +
Here is an example:
 +
<pre>{{Question-answer|question=Who am I?|answer=the Question-answer template}}</pre>
 +
 
 +
This results in:
 +
{{Question-answer|question=Who am I?|answer=the Question-answer template}}
 +
 
 +
[[Category:Collapse templates|{{PAGENAME}}]]
 +
</noinclude>

Revision as of 06:33, 17 December 2013

(This lesson is incomplete. Click "edit" to provide an example.)

When you find the answer, you can add it here by clicking "edit".

This template helps editors create exercises for readers. The definition is:

{{dynamic navigation
|titlestyle=text-align:left;
|title = {{{question|(This lesson is incomplete. Click "edit" to provide an example.)}}}
|body = {{{answer|<small>When you find the answer, you can add it here by clicking "edit".</small>}}}
}}

Here is an example:

{{Question-answer|question=Who am I?|answer=the Question-answer template}}

This results in:

Who am I?

the Question-answer template