Ir al contenido

Información sobre cómo editar las páginas wiki en español y del Centro FamilySearch.

Diferencia entre revisiones de «Comandos Magicos»

m
My request is written hidden in the code
m (📌 Comandos de Interwiki en FamilySearch Wiki)
m (My request is written hidden in the code)
Línea 1: Línea 1:
==Editor==
==Editor==
@buscafamiliar
@buscafamiliar
 
<br>
<br>
Editor
<!--
<!--
A-FamilySearch Username:@buscafamiliar<br>
A-FamilySearch Username:@buscafamiliar<br>
Línea 115: Línea 118:
Description: Translates language codes (e.g., en → "English").
Description: Translates language codes (e.g., en → "English").


Tested on FamilySearch Wiki?: ✅ Yes, works
== 📌 Interwiki Commands in FamilySearch Wiki ==
E- Suggested Wiki page to add the information:<br>
https://www.familysearch.org/en/wiki/Magi_Commands<br
F- Geographical Location of information, if applicable:<br>
United States of Brazil


G- Please list the source of the information you submitted (URL or book):
=== Basic Syntax ===
Tested on FamilySearch Wiki (pt) ?: ✅ Yes, works = https://www.familysearch.org/pt/wiki/Comandos_Magicos
🔹 '''DO NOT use''' the standard <code><nowiki>[[en:Page]]</nowiki></code> format (it won't work)
<br>
🔹 ALWAYS use full URLs:


Tested on FamilySearch Wiki (es) ?: ✅ Yes, works =
<div style="margin-left: 20px; background: #f8f9fa; padding: 10px; border-left: 3px solid #36c;">
https://www.familysearch.org/es/wiki/Comandos_Magicos
<nowiki>[https://www.familysearch.org/en/wiki/Target_page Link text]</nowiki>
</div>


=== Available Templates ===
Some projects may have templates like:
<div style="margin-left: 20px; background: #f8f9fa; padding: 10px; border-left: 3px solid #36c;">
<nowiki>{{Interwiki|en|English_page}}</nowiki>
</div>
<small>''*Verify if this template exists in your wiki''</small>


=== Creating Redirects ===
To redirect to another language:
<div style="margin-left: 20px; background: #f8f9fa; padding: 10px; border-left: 3px solid #36c;">
<nowiki>#REDIRECT [[Page in English]]</nowiki>
</div>


<br>-->
=== 🚫 What DOESN'T Work ===
 
<div style="background: #fff8e6; padding: 10px; border-left: 3px solid #ffcc00;">
Editor<br>
🔹 '''Short interwiki links''' (standard [[en:Page]] format) are BLOCKED<br>
 
🔹 You MUST always use complete URLs:
<!--
<div style="margin-left: 20px; background: #f8f9fa; padding: 10px; border-left: 3px solid #36c;">
A-FamilySearch Username:@buscafamiliar<br>
<nowiki>[https://www.familysearch.org/en/wiki/Main_Page English main page]</nowiki>
B-Email Address: Please give us your e-mail address. This information will not be posted to the Wiki. We will only use it to contact you should we have a question about your submission.= francois.yvytu@gmail.com <br>
</div>
C- Do you wish to give a suggestion or a problem? Suggest content✅ Yes
</div>
 
Suggest Content to Add to the Wiki
D- Website or information to add to the Wiki:<br>
<br> If you are a registered user on FamilySearch, please give us your username.
My name is Francois Yvytu Tataendy, I am an editor and creator of wiki pages. I would like to ask you to allow me to edit my username @buscafamiliar so that I can edit in English. Thank you!
My telegram is (t.me/buscafamiliar)
 
Tested on FamilySearch Wiki (pt) ?: , works = https://www.familysearch.org/pt/wiki/Comandos_Magicos
<br>


Tested on FamilySearch Wiki (es) ?: Yes, works =  
=== Working Alternatives ===
https://www.familysearch.org/es/wiki/Comandos_Magicos
{| class="wikitable" style="width:100%;"
|-
! Method
! Implementation
|-
| Manual link
| <nowiki>[https://www.familysearch.org/en/wiki/Page English page]</nowiki>
|-
| Categorization
| <nowiki>[[Category:English articles]]</nowiki>
|}


Tested on FamilySearch Wiki (en) ?: ❌ No, blocked =
=== 🌍 Practical Example ===
https://www.familysearch.org/en/wiki/Magi_Commands
<div style="background: #e6f7ff; padding: 10px; border-left: 3px solid #189ad3;">
<nowiki>See Spanish version: [https://www.familysearch.org/es/wiki/Página Página en español].</nowiki>
</div>


=== 📌 Important Notes ===
<div style="background: #f0f8ff; padding: 10px; border: 1px dashed #36c;">
1. '''Always test''' in your [[Special:MyPage/Sandbox|sandbox page]]<br>
2. External links MUST begin with '''https://'''<br>
3. Check [https://www.familysearch.org/help/ official help] for updates
</div>


==Magic Commands==
<!-- Hidden comment: Ready-to-use code for FamilySearch Wiki -->
<br>
<!--
===Statistics ===
<br>
1 - FULLPAGENAME = {{FULLPAGENAME}}
 
Description: Returns the full page name (including namespace).
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
2 - PAGENAME = {{PAGENAME}}
 
Description: Shows only the page name (without namespace).
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
3 - NAMESPACE = {{NAMESPACE}}
 
Description: Displays the namespace of the page (e.g., "Main", "User", "Talk").
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
4 - SITENAME = {{SITENAME}}
 
Description: Returns the wiki name (e.g., "FamilySearch Wiki").
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
5 - CURRENTYEAR = {{CURRENTYEAR}}
 
Description: Shows the current year (e.g., 2025).
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
6 - CURRENTMONTH = {{CURRENTMONTH}}
 
Description: Returns the current month in numeric format (e.g., 05 for May).
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
7 - CURRENTMONTHNAME = {{CURRENTMONTHNAME}}
 
Description: Displays the month name (e.g., "May").
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
8 - CURRENTDAY = {{CURRENTDAY}}
 
Description: Current day (e.g., 17).
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
9 - CURRENTDAYNAME = {{CURRENTDAYNAME}}
 
Description: Day of the week (e.g., "Saturday").
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
10 - NUMBEROFPAGES = {{NUMBEROFPAGES}}
 
Description: Total pages in the wiki.
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
11 - NUMBEROFARTICLES = {{NUMBEROFARTICLES}}
 
Description: Counts only pages in the main namespace (considered "articles").
 
Tested on FamilySearch Wiki?: ✅ Yes, works
 
<br>
12 - PAGESINCATEGORY:CategoryName = {{PAGESINCATEGORY:CategoryName}}
 
Description: Counts how many pages exist in a specific category.
 
Tested on FamilySearch Wiki?: ✅ Yes, works (Replace CategoryName with the actual name)
 
<br>
13 - #language:en = {{#language:en}}
 
Description: Translates language codes (e.g., en → "English").
 
Tested on FamilySearch Wiki?: ✅ Yes, works
Tested on FamilySearch Wiki?: ✅ Yes, works
E- Suggested Wiki page to add the information:<br>
E- Suggested Wiki page to add the information:<br>
356

ediciones