Vorlage:Portalseite/Großthemaliste und Benutzer:Alexweller: Unterschied zwischen den Seiten

Aus ZUM-Unterrichten
(Unterschied zwischen Seiten)
KKeine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
 
(Die Seite wurde geleert.)
Markierungen: Geleert 2017-Quelltext-Bearbeitung
 
Zeile 1: Zeile 1:
Diese Vorlage erzeugt eine Liste aller Seiten zu einem Großthema in einem Fach.


=== Parameter ===
'''Unterrichtsfach''' Ein [[:Kategorie:Unterrichtsfach]]
'''Großthema''' Ein Großthema
'''Großthema-1''','''Großthema-2''','''Großthema-3''' Weitere Großthemen die gefundene Seite muss entweder in ''Großthema'' oder ''Großthema-1'' oder ''Großthema-2'' oder ''Großthema-3'' sein.
=== Beispiel: ===
<pre><nowiki>{{Portalseite/Großthemaliste |Mathematik|Analysis}}</nowiki></pre>
<pre><nowiki>{{Portalseite/Großthemaliste
  | Unterrichtsfach = Mathematik
  | Großthema      = Analysis
}}</nowiki></pre>
{{Portalseite/Großthemaliste
  | Unterrichtsfach = Mathematik
  | Großthema      = Analysis
}}
=== Beispiel mit alternativen Großthemen ===
Liste alle Seiten aus dem Fach Ethik auf die entweder Film oder Kurzfilm sind.
<pre><nowiki>{{Portalseite/Großthemaliste |Mathematik|Analysis}}</nowiki></pre>
<pre><nowiki>{{Portalseite/Großthemaliste
  | Unterrichtsfach = Ethik
  | Großthema      = Film
  | Großthema-1    = Kurzfilm
}}</nowiki></pre>
{{Portalseite/Großthemaliste
  | Unterrichtsfach = Ethik
  | Großthema      = Film
  | Großthema-1    = Kurzfilm
}}
<onlyinclude><includeonly>
<code>
Unterrichtsfach: {{{Unterrichtsfach|{{{1|}}}}}}
Großthema: {{{Großthema|{{{2|}}}}}}{{#if {{{Großthema-1|}}}|¦{{{Großthema-1|}}}}}{{#if {{{Großthema-2|}}}|¦{{{Großthema-2|}}}}}{{#if {{{Großthema-3|}}}|¦{{{Großthema-3|}}}}}
</code>
{{#dpl: | debug = 3
| category    = {{{Unterrichtsfach|{{{1|}}}}}}
| category    = {{{Großthema|{{{2|}}}}}}{{#if {{{Großthema-1|}}}|¦{{{Großthema-1|}}}}}{{#if {{{Großthema-2|}}}|¦{{{Großthema-2|}}}}}{{#if {{{Großthema-3|}}}|¦{{{Großthema-3|}}}}}
{{#if {{{Nebenthema|{{{3|}}}}}}| {{!}}category={{{Nebenthema|{{{3|}}}}}}}}
| ordermethod = title
| namespace  =
| noresultsheader = &nbsp;
}}</includeonly></onlyinclude>
<templatedata>
{
"params": {
"Unterrichtsfach": {
"aliases": [
"value1"
],
"example": "Mathematik",
"type": "string",
"required": true
},
"Großthema": {
"aliases": [
"value2"
],
"type": "string",
"required": true
},
"Nebenthema": {
"type": "string"
},
"Großthema-1": {
"description": "Alternatives Großthema",
"type": "string"
},
"Großthema-2": {
"description": "Alternatives Großthema",
"type": "string"
},
"Großthema-3": {
"description": "Alternatives Großthema"
}
}
}
</templatedata>

Version vom 24. April 2022, 09:40 Uhr