Vorlage:Italic title: Unterschied zwischen den Versionen

Aus skandinavien-wiki.net
(Changed to use the more efficient {{str len full}}. Removed code duplication. Removed <includeonly>, let's show what it does here. Tested in /sandbox. No change in functionality.)
(Changed all references from {{str len full}} to {{str len}} due to move to that name.)
Zeile 7: Zeile 7:
   | 1
   | 1
   | 0
   | 0
   }}{{#ifexpr: {{str len full|{{PAGENAME}}}} < 50  <!-- The max {{str find}} can handle -->
   }}{{#ifexpr: {{str len|{{PAGENAME}}}} < 50  <!-- The max {{str find}} can handle -->
   | 1
   | 1
   | 0
   | 0
Zeile 27: Zeile 27:
   {{#if:{{NAMESPACE}}
   {{#if:{{NAMESPACE}}
   | {{NAMESPACE}}:
   | {{NAMESPACE}}:
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{str find|{{PAGENAME}}|(}} | {{#expr: {{str len full|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} }}
   }}''{{str left| {{PAGENAME}} | {{#expr:{{str find|{{PAGENAME}}|(}}-2}} }}'' {{str sub| {{PAGENAME}} | {{str find|{{PAGENAME}}|(}} | {{#expr: {{str len|{{PAGENAME}}}} - {{str find|{{PAGENAME}}|(}} }} }}


| 010
| 010

Version vom 30. März 2009, 04:10 Uhr

Template-info.png Dokumentation für die Vorlage {{Italic title}}[Ansicht] [Bearbeiten] [Versionsgeschichte] [Aktualisieren]
Für die Vorlage {{Italic title}} gibt es noch keine Dokumentation. Du kannst sie aber anlegen.
Hinweise