Need helping fixing the Early Pennsylvania Settlers Project template

+9 votes
162 views

It seems that the original code for this project was:

{{Penn Fleet Passenger}}

This produces the template:

William Penn was part of the William Penn and Early Pennsylvania Settlers community.
Join: William Penn and Early Pennsylvania Settlers Project
Discuss: PENN

as can be seen on William Penn's profile.

Currently, on the project page, the template code suggestion reads:

Add this To get this
{{Pennsylvania Settlers}}
William Penn
... ... ... was part of William Penn's Pennsylvania Settlers community.
Join: Pennsylvania Project
Discuss: PENNSYLVANIA

As can be seen on Prudence (Lanckford) Clayton's profile.

However, the {{Pennsylvania Settlers}} template adds (only) the category "Pennsylvania," not the project category.

What I'd like to do is change the {{Pennsylvania Settlers}} template so that it codes the category for the project.  The "old" {{Penn Fleet Passenger}} template currently does this.

thanks in advance for your help

in WikiTree Tech by SJ Baty G2G Astronaut (1.2m points)
edited by SJ Baty
Anyone? :-)
You need a leader to edit the template. Try adding leaders and templates tags to your question ?
I have a leader who can put in the code once I figure out what it is - I guess I'm more asking, how do I code this?

I'll add the templates tag.
If you want this template to add "William_Penn_and_Early_Pennsylvania_Settlers_Project" category instead of "Pennsylvania", this is the code that should be used:

{{Project Box
|needs={{{needs|}}}{{{Needs|}}}|needs1={{{needs1|}}}{{{Need|}}}|needs2={{{needs2|}}}
|category =  William_Penn_and_Early_Pennsylvania_Settlers_Project
|image =  Penn-40.jpg
|image-caption = William Penn
|description = {{Name}} was part of William Penn's Pennsylvania Settlers community.
|project = Pennsylvania
|tag = pennsylvania
}}

It's just a change in the "category" parameter.
thanks Isabelle

1 Answer

+5 votes
 
Best answer

Hi. 

Are you saying Penn Fleet Passenger template can be deleted? You are referring to it as old. It is used on only 8 profiles. 

http://www.softdata.si/wt/Templ_20180722/Template_Penn_Fleet_Passenger_Txt.htm 

https://www.wikitree.com/wiki/Special:Whatlinkshere/Template:Penn_Fleet_Passenger

And here is the usage of

http://www.softdata.si/wt/Templ_20180722/Template_Pennsylvania_Settlers_Txt.htm

You are referring to templates as Stickers. They are not. They are both Project Boxes.

On Project page it says to use this template. {{US History|sub-project=Pennsylvania}} 

The old template adds William Penn and Early Pennsylvania Settlers Project category.

The new one adds Pennsylvania Category.

Do you want to add both categories, or just William Penn and Early Pennsylvania Settlers Project

by Aleš Trtnik G2G6 Pilot (797k points)
selected by Living Rodgers
Thanks Ales - I've updated the post to reflect template rather than sticker.

I don't see any reason for the template Penn Fleet Passenger now but not sure we should delete it just yet - maybe someone else has a plan for it - I'll refer back to the project and leader before deleting it.  For now, we should have a template that is named {{Pennsylvania Settlers}} and it should link to: https://www.wikitree.com/wiki/Project:William_Penn_and_Early_Pennsylvania_Settlers

Once the template is fixed I can correct the 8 profiles with the old template to the new.

Related questions

+5 votes
2 answers
+12 votes
3 answers
+14 votes
2 answers
+14 votes
1 answer
418 views asked Oct 9, 2014 in The Tree House by Paula J G2G6 Pilot (278k points)
+10 votes
2 answers
398 views asked Mar 30, 2015 in WikiTree Tech by Andrea Powell G2G6 Mach 4 (44.9k points)

WikiTree  ~  About  ~  Help Help  ~  Search Person Search  ~  Surname:

disclaimer - terms - copyright

...