User:Jph2/sandbox: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>{{#ifeq: {{NAMESPACE}} | User | The namespace is ''User'' | That's not correct}}</pre>
[[Negasi]] has eight ministries:
{{#ifeq: {{NAMESPACE}} | User | The namespace is ''User'' | That's not correct}}
* Agriculture and Resources
* Health and Welfare
* Industry and Trade
* Infrastructure and Transport
* Global Affairs
* Knowledge and Culture
* National Defense
* Public Safety


<br />
----
<br />
For templates, use conditionals to hide unused rows<br />
<code><nowiki>|- {{#if: {{{source|}}} | style="vertical-align:top" | style="display:none" }}</nowiki></code>
<br />(bear in mind <nowiki>{{</nowiki>[[Template:Code|code]]}} wraps text in a <code><nowiki><code></nowiki></code> span).


<br />
----


<pre>
"Nothing to see here, folks. Move along."
{{#if: {{{5}}} | :''Main articles: [[{{{1}}}|{{{l1|1}}}]], [[{{{2}}}|{{{l2|2}}}]], [[{{{3}}}|{{{l3|3}}}]], [[{{{4}}}|{{{l4|4}}}]], and [[{{{5}}}|{{{l5|5}}}]]''
| {{#if: {{{4}}} | :''Main articles: [[{{{1}}}|{{{l1|1}}}]], [[{{{2}}}|{{{l2|2}}}]], [[{{{3}}}|{{{l3|3}}}]], and [[{{{4}}}|{{{l4|4}}}]]''
| {{#if: {{{3}}} | :''Main articles: [[{{{1}}}|{{{l1|1}}}]], [[{{{2}}}|{{{l2|2}}}]], and [[{{{3}}}|{{{l3|3}}}]]''
| {{#if: {{{2}}} | :''Main articles: [[{{{1}}}|{{{l1|1}}}]] and [[{{{2}}}|{{{l2|2}}}]]''
| :''Main article: [[{{{1}}}|{{{l1|1}}}]]''
}} }} }} }}
</pre>
 
 
{{#if: 5 | :''Main articles: 1, 2, 3, 4, and 5''
| {{#if: 4 | :''Main articles: 1, 2, 3, and 4''
| {{#if: 3 | :''Main articles: 1, 2, and 3''
| {{#if: 2 | :''Main articles: 1 and 2''
| :''Main article: 1''
}} }} }} }}

Latest revision as of 09:51, 13 November 2024

Negasi has eight ministries:

  • Agriculture and Resources
  • Health and Welfare
  • Industry and Trade
  • Infrastructure and Transport
  • Global Affairs
  • Knowledge and Culture
  • National Defense
  • Public Safety




For templates, use conditionals to hide unused rows
|- {{#if: {{{source|}}} | style="vertical-align:top" | style="display:none" }}
(bear in mind {{code}} wraps text in a <code> span).



"Nothing to see here, folks. Move along."