1. You can use the google translate button left side menu - select french/francais and this should work..
2. parent=parentpagename ( predefined) will work, but I would insert as the tags= content a standard-tag which is later be easy to test like "_unsetfilename"
[[include :snippets:newpage-button
|mode=manual
|name=filename
|title=myfile
|tags=_unsetfilename
]]
Later you can insert into the "filename:_template" page at a standard position INSIDE the iftags test the button set-tags to change the tags to the pagename in a second - MANUAL step on the specific page itself!.
[[iftags +_unsetfilename]]
[[button set-tags-_unsetfilename** +_%%fullname%% text="Change tags to Pagename:(_%%fullname%%)"]]
[[/iftags]]
This will change your age-tags to the pagename anyway
see also the official documentation!
here copied:
Iftags
Tags are kind of special labels for a page, manually added in by editors by clicking on the tags link at the page options buttons on bottom of a page. Every tag can be max 64 characters long, tags are "space" separated and there is no limit of tags per page. Tags are very useful to label pages and then it's easy to create Tag Cloud, which allow to find interesting pages or topics much faster.
Special tags start with an underline: they are not automatically shown in tag clouds, but they can be used as special limitations in [[iftag]] conditions. Tags can be used in ListPages Module with generic conditions ( +, - ) too.
Iftag is a special condition question. You can use it on every page to "react" on tags and set up on the particular page used .
Syntax:
[[iftags +tag1 -tag2 tag3]] ... [[/iftags]]
where the +/-"tag#" stands for the requested tag-indexes.
- + before a tagname means - this tag must exist, (tag without a modifier works in a same way)
- - before a tagname means - this tag must not exist.
Example:
[[iftags +science]]
This page is labeled as: science.
Click here to view more science articles >
[[/iftags]]
[[iftags +bug -fixed]]
This is a bug, but it's not fixed yet.
[[/iftags]]
Button for tag update
You can use [[button set-tags <tag_alterations> text="<button_text>"]] to change page tags easily.
<tag_alterations> is one or more of the following (separated by space):
- +tag — will add a tag to the page if not already present
- -tag — will remove a tag from the page if present
- -* — will remove all the visible tags from the page (those not starting from "_")
- -_* — will remove all the hidden tags from the page (those starting from "_")
The action will happen when user clicks on the button and has permissions to edit the page. The page will reload afterwards (this is useful if you have some iftags constructions on the page).
Any tag removal will happen before tag addition.
Examples:
code |
creates button that … when clicked |
[[button set-tags +tag1 -tag2 text="Change tags"]] |
adds tag tag1 and removes tag tag2 |
[[button set-tags +favorite +_book -_movie text="Change tags"]] |
add tags favorite and _book and removes tag _movie |
[[button set-tags +favorite -* text="Change tags"]] |
add tags favorite and removes other visible tags (tags starting with "_" are kept) |
[[button set-tags -* -_* text="Change tags"]] |
clears all the tags |
[[button set-tags -* +favorite +_book text="Change tags"]] |
adds tag favorite, removes other visible tags and adds tag _book keeping all tags starting with "_" |
Class and style attributes work like for standalone buttons for page actions.