User:Equalizer5118/Sandbox: Difference between revisions
m (user readability when this somehow happens) |
(Minimal parameter testcase + added {{{1}}} support in place of title) |
||
Line 62: | Line 62: | ||
| access-date = 30 July, 2025 | | access-date = 30 July, 2025 | ||
}} | }} | ||
{{{{FULLPAGENAME}} | |||
| cite id = 4 | |||
| title = Green Goblin Jailed! | |||
| access-date = 30 July, 2025 | |||
}} | |||
{{{{FULLPAGENAME}} | |||
| cite id = 5 | |||
| 1 = Old template being used in this testcase! Please fix! | |||
| access-date = 7 March, 2024 | |||
}} | |||
{{{{FULLPAGENAME}} | |||
| cite id = 6 | |||
| title = Test title for things | |||
}} | |||
{{{{FULLPAGENAME}} | |||
| cite id = 7 | |||
}} | |||
{{{{FULLPAGENAME}}|}} | |||
<includeonly><onlyinclude><div id="ref{{{cite id|}}}" style="padding: 0px 5px"> | <includeonly><onlyinclude><div id="ref{{{cite id|}}}" style="padding: 0px 5px"> | ||
:{| style="background:transparent" | :{| style="background:transparent" | ||
|- style="vertical-align:top;" | |- style="vertical-align:top;" | ||
|[[#cite{{{cite id|}}}|{{{cite id|}}}.]] | |{{#if:{{{cite id|}}}|[[#cite{{{cite id|}}}|{{{cite id|}}}.]]|{{tpl error|missing necessary {{param|cite id}}!}}}} | ||
|| <!-- | || <!-- | ||
Line 76: | Line 94: | ||
title | title | ||
-->{{#if:{{{title|}}} | -->{{#if:{{{title|{{{1|}}}}}} | ||
| {{#if:{{{url|}}} | | {{#if:{{{url|}}} | ||
| [{{#if:{{{archive-url|}}} | | [{{#if:{{{archive-url|}}} | ||
Line 83: | Line 101: | ||
| #default = {{{archive-url}}}}}<!-- | | #default = {{{archive-url}}}}}<!-- | ||
-->| {{{url}}}<!-- | -->| {{{url}}}<!-- | ||
-->}} {{{title|No title set. How???}}}]{{#ifeq:{{{url-status}}}|live|| (Archived)|}}<!-- | -->}} {{{title|{{{1|}}}No title set. How???}}}]{{#ifeq:{{{url-status}}}|live|| (Archived)|}}<!-- | ||
-->|{{{title|}}}}}<!-- | -->|{{{title|{{{1|}}}}}}}}<!-- | ||
-->|{{tpl error|missing title!}}}}. <!-- | -->|{{tpl error|missing necessary {{param|title}}!}}}}. <!-- | ||
Revision as of 08:31, 31 July 2025
Editing bot-free since August 16, 2022
Talk Page | Sandbox | User Contributions | View All Subpages
WIP citation overhaul
My old {{Citation}} template (originally called ref2) is very basic, only having the ability to put any format of text into {{{1}}}, with the only other parameter being {{{access-date}}} (and cite-id, but that's not changing). This new Citation template will be more accurate to Wikipedia's version, with parameters for each part of the citation (title, url, website, archive-url, last, first, etc), with the exception that {{{title}}} will not have any special styling, and the user will have to manually put any quotes or italics. Some parameters will likely be missing, because they are usually not used by the average user and my not get used considering the scope of this wiki, but I will try my best to include the important ones. Feel free to use my talk page to suggest anything or if you have any questions.
[1][2][3]
Checklist:
last- first
- author
- date
- title
- url
- website
- location
- publisher
- url-status
- archive-url
- archive-date
access-date
1. Doe, John S (27 September, 2007), Really Cool Article (Archived). Site Name. Planet Earth: Cool name Publishing. Archived from the original on 4 July, 2016. Retrieved on 28 July, 2025.
2. Doe, Jane (30 October, 1994), Totally Awesome Article. Daily Planet. Metro City. Archived from the original on 7 July, 2010. Retrieved on 28 July, 2025.
3. Parker, Peter (2005), Green Goblin Jailed! (Archived). Daily Planet. Metro City. Archived from the original (Deviated) on 7 July, 2005. Retrieved on 30 July, 2025.
4. Green Goblin Jailed!. Retrieved on 30 July, 2025.
5. Old template being used in this testcase! Please fix!. Retrieved on 7 March, 2024.
6. Test title for things.
7. {{missing necessary {{{title}}}!}}
.
{{missing necessary {{{cite id}}}!}}
{{missing necessary {{{title}}}!}}
.