Difference between revisions of "Template:Key Question"

From AquaPedia Case Study Database
Jump to: navigation, search
m (updated if parser function statement to render text correctly in preview mode.)
(Undo revision 8194 by Amanda (talk))
 
(6 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
<pre>
 
<pre>
 
{{Key Question
 
{{Key Question
|Key Question - Dams
+
|Subject
|Key Question - Urban
+
 
|Key Question - Transboundary
 
|Key Question - Transboundary
 
|Key Question - Desalination
 
|Key Question - Desalination
 +
|Key Question - Dams
 +
|Key Question - Urban
 
|Key Question - Influence
 
|Key Question - Influence
 
|Key Question - Industries  
 
|Key Question - Industries  
|Key Question Description=
+
|Key Question Description
 
}}
 
}}
 
</pre>
 
</pre>
Line 16: Line 17:
 
</noinclude><includeonly>
 
</noinclude><includeonly>
  
'''{{#if: {{{Key Question - Dams}}} | [[Key Question::{{{Key Question - Dams}}}]] | {{#if: {{{Key Question - Urban}}} | [[Key Question::{{{Key Question - Urban}}}]] | {{#if: {{{Key Question - Transboundary}}} | [[Key Question::{{{Key Question - Transboundary}}}]] | {{#if: {{{Key Question - Desalination}}} | [[Key Question::{{{Key Question - Desalination}}}]] |  {{#if: {{{Key Question - Influence}}} | [[Key Question::{{{Key Question - Influence}}}]] | {{#if: {{{Key Question - Industries}}} | [[Key Question::{{{Key Question - Industries}}}]] |  }} }} }} }} }} }}'''
+
{{#if: {{{Subject|}}} | '''{{{Subject|}}}:''' }}
 +
''''' {{#if: {{{Key Question - Transboundary|}}} | [[Key Question::{{{Key Question - Transboundary|}}} ]] | {{#if: {{{Key Question - Urban|}}} | [[Key Question::{{{Key Question - Urban|}}}]] | {{#if: {{{Key Question - Dams|}}} | [[Key Question::{{{Key Question - Dams|}}}]] | {{#if: {{{Key Question - Desalination|}}} | [[Key Question::{{{Key Question - Desalination|}}}]] |  {{#if: {{{Key Question - Influence|}}} | [[Key Question::{{{Key Question - Influence|}}}]] | {{#if: {{{Key Question - Industries|}}} | [[Key Question::{{{Key Question - Industries|}}}]] |  }} }} }} }} }} }}'''''
  
{{#if: {{{Key Question Description}}} | {{{Key Question Description}}} | no description entered }}
+
{{#if: {{{Key Question Description|}}} | {{{Key Question Description|}}} | no description entered }}
  
 
{{#set_internal:KQandA
 
{{#set_internal:KQandA
|Question={{{Key Question - Dams}}}{{{Key Question - Urban}}}{{{Key Question - Transboundary}}}{{{Key Question - Desalination}}}{{{Key Question - Influence}}}{{{Key Question - Industries}}}
+
|Question={{{Key Question - Dams|}}}{{{Key Question - Urban|}}}{{{Key Question - Transboundary|}}}{{{Key Question - Desalination|}}}{{{Key Question - Influence|}}}{{{Key Question - Industries|}}}
|Answer={{{Key Question Description}}}
+
|Answer={{{Key Question Description|}}}
 
|Case Study={{PAGENAME}}
 
|Case Study={{PAGENAME}}
 
}}
 
}}
  
 
</includeonly>
 
</includeonly>

Latest revision as of 12:24, 26 November 2014

This is the "Key Question" template. It should be called in the following format:

{{Key Question
|Subject
|Key Question - Transboundary
|Key Question - Desalination
|Key Question - Dams
|Key Question - Urban
|Key Question - Influence
|Key Question - Industries 
|Key Question Description
}}

Edit the page to see the template text.