Thanks Tom, that helps quite a bit, but how would I make a more generalized 
template that I could use on any page?

I'm trying to make it so I can use it to autocategorize entire lists of bullet 
pointed items at a time, mostly for convenience, and I'd like to be adaptable 
to any page.

> From: [email protected]
> Date: Tue, 30 Oct 2012 09:39:52 -0400
> To: [email protected]
> Subject: Re: [MediaWiki-l] Is there an autocategorization ability for bullet  
> point items in MediaWiki?
> 
> DPL needs a parameter or heading to transclude page info. 
> 
> Just use a template
> 
> {{bullet|snow|hail|sleet}}
> 
> Have the template bullet list 
> *[[{{{1|}}}]]
> *[[{{{2|}}}]]
> etc
> 
> But I would integrate into an if call
> 
> {{#if:{{{1|}}}|*[[{{{1|}}}]]|}}
> 
> To automate categorization you based on page name you need to pass the page 
> name you use the template on. 
> 
> {{bullet|snow|hail|sleet|page={{PAGENAME}}}}
> 
> Now you can add categorization splicing together {{{page|}}} and the listing 
> of parameter numbers in the if call. 
> 
> Limitations, you'd have to allow for 10 or whatever # would be you max if 
> parameters and have a statement for each checking value.  
> 
> Probably better to use the Arrays extension and use a comma to separate the 
> values. Then call with a #arrays print call. 
> 
> {{bullet|snow,sleet,hail|page={{PAGENAME}}}}
> 
> 
> Tom
> 
> 
> On Oct 30, 2012, at 9:01 AM, Arcane 21 <[email protected]> wrote:
> 
> > 
> > Tried Dynamic Page List 2.01 (Third Party)
> > 
> > It doesn't seem to work with text in bulletpoints, as I wanted to use it 
> > autocategorize all items between the DPL parser tags in a Category with 
> > same name as the article the bullet pointed items are on.
> > 
> > I.E. - All items in a bulletpointed list (that link to other article pages) 
> > would be autocategorized in a category with the same name as the article 
> > the bullet pointed items are in.
> > 
> > If someone could spell put how I might be able to use DPL parser code for 
> > this purpose (an example of how this would look when typed out would be 
> > quite helpful), it would be appreciated.
> > 
> > If this is the wrong extension or DPL cannot do this, I'm open to 
> > alternatives.
> > 
> > From: [email protected]
> > To: [email protected]; [email protected]
> > Subject: RE: [MediaWiki-l] Is there an autocategorization ability for 
> > bullet point items in MediaWiki?
> > Date: Tue, 30 Oct 2012 12:27:51 +0000
> > 
> > 
> > 
> > 
> > 
> > You should have a look at Semantic MediaWiki, Dynamic Pagelist, or similar 
> > extensions!
> > /Leo
> > 
> > _______________Leonard [email protected]@leo_wallentin+46 
> > (0) 735 - 933 543
> > 
> >> From: [email protected]
> >> To: [email protected]
> >> Date: Tue, 30 Oct 2012 07:17:48 -0500
> >> Subject: Re: [MediaWiki-l] Is there an autocategorization ability for 
> >> bullet point items in MediaWiki?
> >> 
> >> 
> >> Sorry. My last post got slightly garbled...still new to using this mailing 
> >> list, so here's my message again:
> >> 
> >> I was curious if there is a way to take a bullet pointed list of internal 
> >> wiki links to other articles (whether they contain content or not) on a 
> >> single page and have them automatically categorized to the category to 
> >> same name as the article page. 
> >> 
> >> For example, I have the article page "Snow", and I want to add a list of 
> >> subtopics on the article page "Snow" to the category "Snow", with 
> >> subtopics being:
> >> 
> >> (bulletpoint one)Flurries (bulletpoint two) Hail (bulletpoint three) Sleet
> >> 
> >> My question is if there is a template, extension, or wiki parser 
> >> expressions I should use to make all items on a bullet pointed list be 
> >> autocategorized in the category with the same name as the article page.
> >> 
> >> If anyone has any ideas or knows what I need, any assistance would be 
> >> greatly appreciated.
> >> 
> >> _______________________________________________
> >> MediaWiki-l mailing list
> >> [email protected]
> >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> > 
> > _______________________________________________
> > MediaWiki-l mailing list
> > [email protected]
> > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
> 
> _______________________________________________
> MediaWiki-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
                                          
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to