Vorlage:Portalseite/Großthemaliste: Unterschied zwischen den Versionen

Aus ZUM-Unterrichten
KKeine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
KKeine Bearbeitungszusammenfassung
Markierung: 2017-Quelltext-Bearbeitung
 
(9 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 6: Zeile 6:


'''Großthema''' Ein Großthema
'''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.




Zeile 21: Zeile 19:
   | Unterrichtsfach = Mathematik
   | Unterrichtsfach = Mathematik
   | Großthema      = Analysis
   | Großthema      = Analysis
}}
=== Beispiel mit Schulstufe ===
Liste alle Seiten aus dem Fach Ethik auf die entweder Film oder Kurzfilm sind.
<pre><nowiki>{{Portalseite/Großthemaliste
  | Unterrichtsfach = Mathematik
  | Großthema      = Analysis
  | Schulstufe      = Sekundarstufe 1
}}</nowiki></pre>
{{Portalseite/Großthemaliste
  | Unterrichtsfach = Mathematik
  | Großthema      = Analysis
  | Schulstufe      = Sekundarstufe 1
}}
}}


Zeile 27: Zeile 41:
Liste alle Seiten aus dem Fach Ethik auf die entweder Film oder Kurzfilm sind.
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  
<pre><nowiki>{{Portalseite/Großthemaliste  
   | Unterrichtsfach = Ethik
   | Unterrichtsfach = Ethik
   | Großthema      = Film
   | Großthema      = Film,Kurzfilm
  | Großthema-1    = Kurzfilm
}}</nowiki></pre>
}}</nowiki></pre>


{{Portalseite/Großthemaliste  
{{Portalseite/Großthemaliste  
   | Unterrichtsfach = Ethik
   | Unterrichtsfach = Ethik
   | Großthema      = Film
   | Großthema      = Film,Kurzfilm
  | Großthema-1    = Kurzfilm
}}
}}




 
<onlyinclude><includeonly>{{#if: {{{Schulstufe|{{{3|}}}}}}
<onlyinclude><includeonly>
| {{#dpl:
<code>
  | category    = {{{Unterrichtsfach|{{{1|}}}}}}
Unterrichtsfach: {{{Unterrichtsfach|{{{1|}}}}}}
  | category    = {{#replace:{{{Großthema|{{{2|}}}}}}|,|¦}}
 
  | category    = {{#replace:{{{Schulstufe|{{{3|}}}}}}|,|¦}}
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|}}}}}
  | ordermethod = title
</code>
  | namespace  =
{{#dpl: | debug = 3
  | noresultsheader =&nbsp;
| category    = {{{Unterrichtsfach|{{{1|}}}}}}
}} | {{#dpl:
| 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|}}}}}
  | category    = {{{Unterrichtsfach|{{{1|}}}}}}
{{#if: {{{Nebenthema|{{{3|}}}}}}| {{!}}category={{{Nebenthema|{{{3|}}}}}}}}
  | category    = {{#replace:{{{Großthema|{{{2|}}}}}}|,|¦}}
| ordermethod = title
  | ordermethod = title
| namespace  =
  | namespace  =
| noresultsheader = &nbsp;
  | noresultsheader =&nbsp;
}}</includeonly></onlyinclude>
}}}}</includeonly></onlyinclude>


<templatedata>
<templatedata>
Zeile 62: Zeile 73:
"Unterrichtsfach": {
"Unterrichtsfach": {
"aliases": [
"aliases": [
"value1"
"1"
],
],
"example": "Mathematik",
"example": "Mathematik",
Zeile 70: Zeile 81:
"Großthema": {
"Großthema": {
"aliases": [
"aliases": [
"value2"
"2"
],
],
"type": "string",
"type": "string",
"required": true
"required": true,
"description": "Großthema bzw. mehrere alternative Großthemen mit Komma getrennt"
},
},
"Nebenthema": {
"Schulstufe": {
"type": "string"
"type": "string",
},
"aliases": [
"Großthema-1": {
"3"
"description": "Alternatives Großthema",
]
"type": "string"
},
"Großthema-2": {
"description": "Alternatives Großthema",
"type": "string"
},
"Großthema-3": {
"description": "Alternatives Großthema"
}
}
}
}
}
}
</templatedata>
</templatedata>

Aktuelle Version vom 1. Mai 2022, 08:52 Uhr

Diese Vorlage erzeugt eine Liste aller Seiten zu einem Großthema in einem Fach.

Parameter

Unterrichtsfach Ein Kategorie:Unterrichtsfach

Großthema Ein Großthema


Beispiel:

{{Portalseite/Großthemaliste |Mathematik|Analysis}}
{{Portalseite/Großthemaliste 
  | Unterrichtsfach = Mathematik
  | Großthema       = Analysis
}}


Beispiel mit Schulstufe

Liste alle Seiten aus dem Fach Ethik auf die entweder Film oder Kurzfilm sind.

{{Portalseite/Großthemaliste 
  | Unterrichtsfach = Mathematik
  | Großthema       = Analysis
  | Schulstufe      = Sekundarstufe 1
}}


Beispiel mit alternativen Großthemen

Liste alle Seiten aus dem Fach Ethik auf die entweder Film oder Kurzfilm sind.

{{Portalseite/Großthemaliste 
  | Unterrichtsfach = Ethik
  | Großthema       = Film,Kurzfilm
}}



Keine Beschreibung.

Vorlagenparameter

ParameterBeschreibungTypStatus
UnterrichtsfachUnterrichtsfach 1

keine Beschreibung

Beispiel
Mathematik
Zeichenfolgeerforderlich
GroßthemaGroßthema 2

Großthema bzw. mehrere alternative Großthemen mit Komma getrennt

Zeichenfolgeerforderlich
SchulstufeSchulstufe 3

keine Beschreibung

Zeichenfolgeoptional