Extension talk:BoilerplateSelection

How the keywords work?
So I take it that the array says that if the article has that keyword in it, anywhere, then it will then load up the named boiler plate? So, if the key word is "Sand", then a page with the title "Sandbox", "Red Sand" etc will load up that boiler plate? --Dr DBW 03:44, 23 August 2007 (UTC)


 * I have just updated the process with a small change. I have added a flag during forEach loop which will cause the process to ignore multiple hits.  I have put an example in the usage section.  But basically if the first elements of your array contains 'this', 'that' and 'this other' then the process will first look for 'this' in the title.  If it finds it then it will use the associated template.  Let's say your title is This Doc about That.  Before I added the change it would look for 'this' and find it.  But then it would look for 'that' and find it also.  It would use the second instance.  Now, with the flag, it will look for 'this' find it and use its template ignoring any other hit.  Does this clear it up?  Remember that if it doesn't find any hit it will attempt to find a template called 'Boilerplate' and use it.  --Dtsig 14:00, 23 August 2007 (UTC)