Vorlage:CAS Example: Unterschied zwischen den Versionen

Aus GeoGebra Manual
Wechseln zu: Navigation, Suche
K
K
Zeile 2: Zeile 2:
 
Parameters:
 
Parameters:
  
title  ...  The title preferred by the user. Omit to generate the title automatically. If set and containing something apart from white space, overwrites the automatically generated title. Use at any but "example" level is discouraged strongly (though working fine).  
+
title  ...  The title preferred by the user. Omit to generate the title automatically. If set and containing something apart from white space, overwrites the automatically generated title. Use at any but "example" level is discouraged strongly (though working fine).
title  ... The heading specifying the current page. Providing the keyword "CAS Beispiele" reserved for the main page will add it to the category "Anleitungen" instead of the category "CAS Beispiele". Therefore use of the title "CAS Beispiele" is stongly discouraged for any other page.
 
<!-- TODO Get rid of the old usage of the title parameter. -->
 
 
level  ...  The level of this page. Valid keywords are "all", as in all CAS examples overview page, "meta", as in meta-type overview page, "type", as in overview page for a certain type, "year", as in overview page for a certain year, and "example", as in one specific CAS example.
 
level  ...  The level of this page. Valid keywords are "all", as in all CAS examples overview page, "meta", as in meta-type overview page, "type", as in overview page for a certain type, "year", as in overview page for a certain year, and "example", as in one specific CAS example.
 
meta ... The meta-type of the example. Valid keywords are "Bayrische Abituraufgabe" and "Österreichische Maturaaufgabe". Omit if not applying.
 
meta ... The meta-type of the example. Valid keywords are "Bayrische Abituraufgabe" and "Österreichische Maturaaufgabe". Omit if not applying.
Zeile 20: Zeile 18:
 
<div class="infobox tool">
 
<div class="infobox tool">
  
<!-- Heading specifying the current page.
+
<!-- Heading specifying the current page. -->
Check whether a heading is defined. If one is provided, use it. If none is provided, use BASEPAGENAME instead.-->
+
<h5>{{CAS Example Title|title={{{title}}}|level={{{level}}}|meta={{{meta}}}|type={{{type}}}|subtype={{{subtype}}}|year={{{year}}}}}</h5>
<h5>{{{title|{{BASEPAGENAME}}}}}</h5>
 
  
 
<!-- Heading saying that a list of all categories in the CAS Beispiele category is following and providing a link to the CAS Beispiele category.
 
<!-- Heading saying that a list of all categories in the CAS Beispiele category is following and providing a link to the CAS Beispiele category.
The current category is italic. The link to the current page is bold and italic. If the surrounding text is bold and or italic itself, the link is not.
+
The current meta-type is italic. The links to the current page are bold and italic. If the surrounding text is bold and or italic itself, the links are not.
 
In most cases the link to the current page is bold and italic automatically, yet in the following heading this has to be achieved manually. -->
 
In most cases the link to the current page is bold and italic automatically, yet in the following heading this has to be achieved manually. -->
 
<h5>Kategorien für CAS Beispiele <small>({{#ifeq:{{FULLPAGENAME}}|Kategorie:CAS Beispiele|'''''Alle CAS Beispiele'''''|[[:Category:CAS Beispiele|Alle CAS Beispiele]]}})</small></h5>
 
<h5>Kategorien für CAS Beispiele <small>({{#ifeq:{{FULLPAGENAME}}|Kategorie:CAS Beispiele|'''''Alle CAS Beispiele'''''|[[:Category:CAS Beispiele|Alle CAS Beispiele]]}})</small></h5>
 
* {{#ifeq:{{{meta}}}|Bayrische Abituraufgabe|''[[Anleitung:CAS Beispiele aus Bayrischen Abituren|Bayrische Abituraufgaben]]''|[[Anleitung:CAS Beispiele aus Bayrischen Abituren|Bayrische Abituraufgaben]]}}
 
* {{#ifeq:{{{meta}}}|Bayrische Abituraufgabe|''[[Anleitung:CAS Beispiele aus Bayrischen Abituren|Bayrische Abituraufgaben]]''|[[Anleitung:CAS Beispiele aus Bayrischen Abituren|Bayrische Abituraufgaben]]}}
 
* {{#ifeq:{{{meta}}}|Österreichische Maturaaufgabe|''[[Anleitung:CAS Beispiele aus Österreichischen Maturen|Österreichische Maturaaufgaben]]''|[[Anleitung:CAS Beispiele aus Österreichischen Maturen|Österreichische Maturaaufgaben]]}}
 
* {{#ifeq:{{{meta}}}|Österreichische Maturaaufgabe|''[[Anleitung:CAS Beispiele aus Österreichischen Maturen|Österreichische Maturaaufgaben]]''|[[Anleitung:CAS Beispiele aus Österreichischen Maturen|Österreichische Maturaaufgaben]]}}
<!-- TODO Create overview pages linked to above. -->
 
  
 
<!-- Menu providing an overview of and quick access to the different categories in this meta category, as given by the "meta" parameter.
 
<!-- Menu providing an overview of and quick access to the different categories in this meta category, as given by the "meta" parameter.
Zeile 50: Zeile 46:
 
* {{#ifeq:{{{year}}}|2014|''[[Anleitungen:CAS Beispiele aus Bayrischen Abituren 2014|2014]]''|[[Anleitungen:CAS Beispiele aus Bayrischen Abituren 2014|2014]]}}
 
* {{#ifeq:{{{year}}}|2014|''[[Anleitungen:CAS Beispiele aus Bayrischen Abituren 2014|2014]]''|[[Anleitungen:CAS Beispiele aus Bayrischen Abituren 2014|2014]]}}
 
}}
 
}}
<!-- TODO Create overview pages linked to above. -->
 
  
 
<!-- Austria: "meta" is "Österreichische Maturaaufgabe". -->
 
<!-- Austria: "meta" is "Österreichische Maturaaufgabe". -->
Zeile 65: Zeile 60:
 
</div>
 
</div>
 
</div>
 
</div>
<!-- TODO Do we need multiple languages here? If so, adapt and uncomment the line below.
+
<!-- TODO Do we need multiple languages here? YES! So go ahead and adapt and uncomment the line below. By the way, what does it do?
 
{{#if: {{{DE_version|}}}{{{AT_version|}}}|{{Alternate Language|page_type=Befehl|AT_version={{{AT_version|}}}|DE_version={{{DE_version|}}}}}}}
 
{{#if: {{{DE_version|}}}{{{AT_version|}}}|{{Alternate Language|page_type=Befehl|AT_version={{{AT_version|}}}|DE_version={{{DE_version|}}}}}}}
 
-->
 
-->
 
<!-- Add this page to the fitting categories. --><includeonly>
 
<!-- Add this page to the fitting categories. --><includeonly>
{{#ifeq:{{{title}}}|CAS Beispiele|[[Category:Anleitungen]]|[[Category:CAS Beispiele]]}}{{#ifeq:{{{meta}}}
+
{{#ifeq:{{{level}}}|all|[[Category:Anleitungen]]|[[Category:CAS Beispiele]]}}{{#ifeq:{{{meta}}}
 
|Bayrische Abituraufgabe
 
|Bayrische Abituraufgabe
 
|[[Category:CAS Beispiele aus Bayrischen Abituren]]
 
|[[Category:CAS Beispiele aus Bayrischen Abituren]]

Version vom 2. Mai 2013, 16:52 Uhr

Anleitungen: {{{title}}}
create Template documentation
© 2024 International GeoGebra Institute