Jump to content

Template:Search: Difference between revisions

From KDE UserBase Wiki
Claus chr (talk | contribs)
Modified to accomodate the growing number of Kdenlive pages
Claus chr (talk | contribs)
No edit summary
Line 2: Line 2:
{{#dpl:
{{#dpl:
   |namespace =  
   |namespace =  
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z][)]))$
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z](...)?[)]))$
   |titlematch = ^[A-J]
   |titlematch = ^[A-J]
   |include = *
   |include = *
Line 11: Line 11:
{{#dpl:
{{#dpl:
   |namespace =  
   |namespace =  
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z][)]))$
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z](...)?[)]))$
   |titlematch = ^K[A-Z]
   |titlematch = ^K[A-Z]
   |include = *
   |include = *
Line 20: Line 20:
{{#dpl:
{{#dpl:
   |namespace =  
   |namespace =  
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z][)]))$
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z](...)?[)]))$
   |titlematch = ^K[a-ce-z]
   |titlematch = ^K[a-ce-z]
   |include = *
   |include = *
Line 29: Line 29:
{{#dpl:
{{#dpl:
   |namespace =  
   |namespace =  
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z][)]))$
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z](...)?[)]))$
   |titlematch = ^Kd
   |titlematch = ^Kd
   |include = *
   |include = *
Line 38: Line 38:
{{#dpl:
{{#dpl:
   |namespace =  
   |namespace =  
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z][)]))$
   |nottitleregexp = .*((/[a-z][a-z](.{{!}}-..)?){{!}}([ _][(][a-z][a-z](...)?[)]))$
   |titlematch = ^[L-Z]
   |titlematch = ^[L-Z]
   |include = *
   |include = *
Line 81: Line 81:
Example: <code><nowiki>{{Search|1=Learn more}}</nowiki></code> gives
Example: <code><nowiki>{{Search|1=Learn more}}</nowiki></code> gives
{{Search|1=Learn more}}
{{Search|1=Learn more}}
{{Search|1=description}}
[[Category:Template]]
[[Category:Template]]
</noinclude>
</noinclude>

Revision as of 16:59, 22 July 2013

Find pages containing a string: {{Search|string}} finds all pages containing the string. Searches are case sensitive. In order to find both xyz and Xyz use a regular expression: {{Search|[Xx]yz}}.

Regular expressions use a perl like syntax. Special characters like '[', '[','(' and ')' need to be escaped.

No wiki expansion takes place before passing arguments to the template.

Example: {{Search|1=Learn more}} gives