User:Equalizer5118/Sandbox: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Finished up the most needed features. If anyone has any more features requests, make them on my talk page.)
No edit summary
Line 2: Line 2:
== WIP citation overhaul ==
== 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.  
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.  
 
<sup>{{Cite|1}}{{cite|2}}{{cite|3}}</sup><br>
Checklist:
Checklist:
* <s>last
* <s>last
Line 48: Line 48:
     | archive-date = 7 July, 2010
     | archive-date = 7 July, 2010
     | access-date  = 28 July, 2025
     | access-date  = 28 July, 2025
}}
{{{{FULLPAGENAME}}
    | cite id = 3
| author      = Parker, Peter
    | date        = 2005
    | title        = Green Goblin Jailed!
    | url          = http://url/
    | work        = Daily Planet
    | location    = Metro City
    | url-status  = deviated
    | archive-url  = http://archiveurl/
    | archive-date = 7 July, 2005
    | access-date  = 30 July, 2025
}}
}}
<includeonly><onlyinclude><div id="ref{{{cite id|}}}" style="padding: 0px 5px">
<includeonly><onlyinclude><div id="ref{{{cite id|}}}" style="padding: 0px 5px">
Line 70: Line 83:
                 | #default = {{{archive-url}}}}}<!--
                 | #default = {{{archive-url}}}}}<!--
         -->| {{{url}}}<!--
         -->| {{{url}}}<!--
     -->}} {{{title|bruh}}}]{{#ifeq:{{{url-status}}}|deviated|&nbsp;(Deviated)|}}<!--
     -->}} {{{title|bruh}}}]{{#switch:{{{url-status}}}|dead|deviated|#default=&nbsp;(Archived)|}}<!--
  -->|{{{title|}}}}}<!--
  -->|{{{title|}}}}}<!--
-->|{{tpl error|missing title!}}}}. <!--
-->|{{tpl error|missing title!}}}}. <!--
Line 99: Line 112:
     | {{#switch:{{{url-status|}}}
     | {{#switch:{{{url-status|}}}
         | live = [{{{archive-url}}} Archived] from the original
         | live = [{{{archive-url}}} Archived] from the original
         | dead | deviated | #default = Archived from the [{{{url}}} original]}}<!--
         | dead | deviated | #default = Archived from the [{{{url}}} original]{{#ifeq:{{{url-status|}}}|deviated|&nbsp;(Deviated)|}}}}<!--
  -->}}{{#if:{{{archive-date|}}}|&nbsp;on {{{archive-date|}}}.&nbsp;|}}<!--
  -->}}{{#if:{{{archive-date|}}}|&nbsp;on {{{archive-date|}}}.&nbsp;|}}<!--



Revision as of 14:27, 30 July 2025

Equalizer (Equalizer5118)
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. 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.