User:Equalizer5118/Sandbox: Difference between revisions
(Testing Delete template, DO NOT DELETE) Tag: Replaced |
(starting work on version of Citation template that is more accurate to Wikipedia's version) |
||
Line 1: | Line 1: | ||
{{User:Equalizer5118/Page header}} | {{User:Equalizer5118/Page header}} | ||
== | == WIP citation overhaul == | ||
{{ | My old {{tl2|Citation}} template (originally called ref2) is very basic, only having the ability to put any format of text into {{param|1}}, with the only other parameter being {{param|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 {{param|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. Please refrain from editing this page while I am still working on it, thanks! | ||
{{ | |||
Checklist: | |||
* <s>last | |||
* first | |||
* date | |||
* title | |||
* url</s> | |||
* website | |||
* publisher | |||
* url-status - partial | |||
* archive-url - partial | |||
* archive-date | |||
* access-date | |||
{{{{FULLPAGENAME}} | |||
| cite id = 1 | |||
| last = Doe | |||
| first = John | |||
| date = 27 September, 2007 | |||
| title = Really Cool Site | |||
| url = http://url/ | |||
| website = Site Name | |||
| location = Planet Earth | |||
| publisher = Cool name Publishing | |||
| url-status = <!-- dead, live, deviated --> | |||
| archive-url = http://archiveurl/ | |||
| archive-date = 4 July, 2016 | |||
| access-date = 28 July, 2025 | |||
}} | |||
<includeonly><onlyinclude><div id="ref{{{cite id|}}}" style="padding: 0px 5px"> | |||
:{| style="background:transparent" | |||
|- style="vertical-align:top;" | |||
|[[#cite{{{cite id|}}}|{{{cite id|}}}.]] | |||
|| <!-- | |||
author/date | |||
--> {{#if:{{{last|}}}{{{first|}}}{{{date|}}} | |||
| {{#if:{{{last|}}}|{{{last|}}}{{#if:{{{first|}}}|, |}}}}{{{first|}}}{{#if:{{{date|{{{year|}}}}}}| ({{{date|{{{year|tf how did this happen}}}}}})|}}, <!-- | |||
-->|}}<!-- | |||
title | |||
-->{{#if:{{{title|}}} | |||
| {{#if:{{{url|}}} | |||
| [{{#if:{{{archive-url|}}} | |||
| {{#switch:{{{url-status}}} | |||
| live = {{{url}}} | |||
| #default = {{{archive-url}}}}}<!-- | |||
-->| {{{url}}}<!-- | |||
-->}} {{{title|bruh}}}]{{#ifeq:{{{url-status}}}|deviated| (Deviated)|}}<!-- | |||
-->|{{{title|}}}}}<!-- | |||
-->|{{tpl error|missing title!}}}}, | |||
|}</div></onlyinclude></includeonly> |
Revision as of 01:44, 28 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. Please refrain from editing this page while I am still working on it, thanks!
Checklist:
last- first
- date
- title
url- website
- publisher
- url-status - partial
- archive-url - partial
- archive-date
- access-date
1. Doe, John (27 September, 2007), Really Cool Site,