Daniel Larson Wiki:Editor's Guide: Difference between revisions
(Some tweaks to the rules / guidelines) |
(Added an unfinished section on editing templates, modules, and working with code in articles. Will expand on tomorrow (if I get around to it...)) |
||
Line 108: | Line 108: | ||
<p style="background:#E8E8E8; border:1px solid #a3bfb1; text-align:center; color:#000; padding:0.2em 0.4em;">"Ongoing" ambox is for articles covering situations or subjects that are currently ogoing and subject to change.</p> | <p style="background:#E8E8E8; border:1px solid #a3bfb1; text-align:center; color:#000; padding:0.2em 0.4em;">"Ongoing" ambox is for articles covering situations or subjects that are currently ogoing and subject to change.</p> | ||
<span style="color:#FFFFFF">This text is to space out these amboxes for readability</span> | <span style="color:#FFFFFF">This text is to space out these amboxes for readability</span> | ||
= Advanced Editing = | |||
== Advanced Article Editing == | |||
* '''Nowiki''' | |||
** Nowiki tags can prohibit HTML tags, useful for displaying code, like on these articles! | |||
** Example: <nowiki>no [[wiki]] ''markup''</nowiki> | |||
** Code: <code><nowiki><nowiki>no [[wiki]] ''markup''</nowiki></nowiki></code> | |||
* '''Colouring text''' | |||
** Example: <span style="color: red;">This text is red.</span> | |||
** Code: <code></nowiki><span style="color: red;">This text is red.</span></nowiki></code> (this is CSS code!) | |||
* '''Comments'''\ | |||
** Example: <code><nowiki><!-- This is a comment --></nowiki></code> | |||
** These can only be seen when editing articles! | |||
* '''Special Characters''' | |||
** Add special characters using HTML entities, such as © for the copyright symbol, ® for the registered trademark symbol, or ™ for the trademark symbol. | |||
* '''Shadows''' | |||
** Example: <span style="text-shadow: 2px 2px 4px #333;">Shadowed Text</span> | |||
** Code: <code><nowiki><span style="text-shadow: 2px 2px 4px #333;">Shadowed Text</span></nowiki></code> (this is also CSS code!) | |||
=== Stuff You Should Know Before Editing Modules/Templates === | |||
This isn't necessarily ''required'', but <u>it is highly suggested that you familiarize yourself with wikitext, HTML, CSS, and Lua scripting before trying to get into editing important modules and templates</u> to any large degree, as if you're a beginner without experience planning out modules/templates, you can end up messing up modules and templates very badly in the long-term with sloppy or improper code. | |||
'''Here's a basic run-down of things you should be familiar with when you start editing modules and templates:''' | |||
* '''Wikitext''' | |||
** Wikitext is the markup language used in MediaWiki for formatting content. You should be comfortable with wikitext, including creating and formatting text, links, lists, and tables. This is used in the "source" editing of articles, so don't be afraid, as there's a lot of references to use across the wiki if you're figuring stuff out! | |||
* '''Templates''' | |||
** '''Template Syntax''' | |||
*** Templates are used to reuse content and create structured elements. You should know how to pass parameters to templates and use them effectively. | |||
** '''Template Parameters''' | |||
*** Learn how to define and use parameters in templates to make them more flexible and reusable. You can pass data into templates using parameters. | |||
** '''Transclusion''' | |||
*** Understand how transclusion works in MediaWiki. Transclusion is the process of including the content of one page (such as a template) within another page. | |||
* '''CSS Styling''' | |||
** You may need to apply custom CSS styles to your templates to control their appearance. Learn how to define and use CSS within MediaWiki. | |||
* '''Parser Functions''' ''(for decently advanced editing)'' | |||
** MediaWiki provides various parser functions that allow you to perform dynamic operations within your wikitext. Familiarize yourself with common parser functions like #if, #ifeq, #ifexpr, and #switch. | |||
* '''Lua Scripting''' ''(for very advanced editing)'' | |||
** Lua is used for creating more complex logic and functionality within MediaWiki. You should be familiar with the Lua programming language, including variables, conditionals, loops, and functions. | |||
* '''Module Development''' ''(for very advanced editing)'' | |||
** Understand how to create and use Lua modules in MediaWiki. Modules are used to encapsulate complex logic and make it accessible to templates. You should know how to call Lua functions from wikitext and pass data between Lua modules and templates | |||
== Editing Templates == | |||
{{stub}} | |||
* Creating a template page | |||
** When you make a template, you need the <code>Template:</code> tag at the start of the name of the article, otherwise it won't be recognized as one. | |||
* Using a template | |||
** To use the modified template, insert it into articles using <nowiki>{{TemplateName}}</nowiki>, and provide values for the parameters as needed. | |||
== Editing Modules == | |||
{{stub}} |
Revision as of 04:17, 29 October 2023
Welcome to the Daniel Larson Wiki! If you are viewing this page, you are likely interested in becoming or are currently an editor. That's awesome, and the wiki can't thank you enough!
Editors are the backbone of this wiki and every edit is appreciated as it makes this wiki better. On this page, general rules will be outlined as well as some tips and tricks.
General Rules/Suggestions
These are general editing rules everyone should keep in mind as well as the site rules.
Before reading this you should read the about page its very short, and very important.
Bias
- Keep your edits completely unbiased.
- A lot of topics about Daniel are heavily debated with arguments going both ways. The wiki is not here to pick a side but to do its best presenting both sides neutrally.
- Use words like "This is highly debated in the community" and "some people think" with references if you can. The opinion of the editor should never be clear.
- Cite your sources. Unsourced content means nothing, and is subject for deletion.
Details
- The more details, the better. Try to account for readability, though.
- We really can't have enough details about incidents that happen. Add as much as you can, full transcripts, descriptions, comments, etc are encouraged. In 5 years, people should be able to reference things and get a full picture of what happened.
- This rule applies to Daniel, and Daniel only. Not his family, friends, or the professionals trying to help him. They have pages, and are involved in incidents, but should not have their lives dug into. Remember the human.
NSFW
- Daniel has been involved with a lot of NSFW videos. They should be documented here, BUT NEVER UPLOADED OR EMBEDDED!
- Link to the video where it is hosted, preferably on Archive.org.
Slurs and Cursing
- Cursing can be included in articles
- Slurs (E.G. the N-word, R-word) are not to be included in any articles.
New Pages
You are more than welcome to create new pages but first ask you self these questions:
- Is there enough content for new page?
- For example: Daniel posting a single TikTok that's only a slide show and background music is probably enough content for half a sentence and should not have its own page. Feel free to add it to the Timeline though!
- Is the content that I am thinking of making a new page for better fit on another page?
- This can be hard to figure out, so use your best judgement. If a certain incident happened during an arc it's probably better to add it as a heading inside the arc page instead of a new page on it's own. Then once more information is added / found a new page can be created if it's needed.
- Does the page already exist?
- Check Alternative titles for the page you are thinking of creating
- Make general searches for the content you have to see if it is already referenced elsewhere
Page Titles
Once you have answered the questions above and you know you need to make a new page, you are ready to move forward. Here are the rules for page titles:
- Capitalized following APA title capitalization rules!
- For an easy tool check out this website: https://capitalizemytitle.com/style/APA/
- Descriptive
- Titles should be concise but also descriptive. it's encouraged to add "Incident" to the end of titles or include the year / month when appropriate (eg: Denver Coflax Marathon 2022 )
Creation
To Create the page simply search for the title that you want the page for be and select the red text inside the "Create the page "Example" on this wiki!" prompt.
Editing a Page
One of the main activities that editors do is edit the pages found here on the wiki. If you have ever used word / google docs before you can probably figure out the main editor that wiki uses. To edit a page, go to the page that you wish to edit and select the "Edit" button in the top right of the page.
Part of being a good editor is accepting that your content will and should be edited by others. Please correct any mistakes, add content, reformat, anything that you see on this wiki. Including this page!'
References
References are vital as it is the proof to what you are writing about. Embedded videos are probably the best proof you can get but at the very least you can use a <ref> tag
Headings
Use them! Headings are a good way to break up content and make things easier to read. Check out the Chris Chan wiki as well as just wikipedia for good examples.
Media
Pictures and Videos are highly encouraged. Pictures can be uploaded to this wiki however videos are generally frowned upon as they take a lot of storage (aka money) to host. This site generally favors hosted videos on Archive.org.
How to Embed Videos
Switch to the source editor by going to the pencil icon and selecting "Source editing" and paste the following
{{#evt: service=youtube |id=https://www.youtube.com/watch?v=<videoId> }}
Youtube tags are only for temporary uses. All videos need archival in case they are taken down.
<youtube></youtube>
For Archive.org videos, change the service to "archiveorg". The ID should be what is found in the url after /details/. More information about this extension can be found here
Amboxes
Ambox stands for Article Message box, which is a metatemplate. They are pre-set messages used in articles to clarify the or to give disclaimers for the contents of any articles.
These are all current amboxes on the wiki, and are to be sorted at the top of the article in the order presented. If you are unsure that an ambox is to be put on a page, ask in the discussion page. If you want another ambox to be created and are unsure if it should be made, ask in the ambox discussion page.
The subject of or contents of "Editor's Guide" are potentially offensive and/or controversial. Viewer discretion is advised. |
"CW" ambox is to be included in articles covering sensitive or highly politicized subjects.
This text is to space out these amboxes for readability
Remember that doxxing is both illegal and immoral. Phone numbers, home addresses, and confidential information should be omitted from this page. |
"Doxxing" ambox is to only be included in pages about people.
This text is to space out these amboxes for readability
"Editor's Guide" has either missing content, has false information, has large formatting issues, is poorly written, has an extensive bias, or is illegible. Large portions or even the entirety of this article need to be rewritten. |
"Rewrite" ambox is to be very sparsely used and only if there are major issues with articles, and this is only to be added after asking the discussion page.
This text is to space out these amboxes for readability
The subject of or some/all of the contents of "Editor's Guide" are potentially redundant and featured in other articles. "Editor's Guide" may be removed or rewritten. |
"Copy" ambox is for articles that have copycat content from other articles.
This text is to space out these amboxes for readability
"Editor's Guide" needs additional citations. |
"More Citations Needed" ambox is for articles that make unsubstantiated claims.
This text is to space out these amboxes for readability
"Editor's Guide" has information that should not be cited. |
"DontCite" ambox is for articles that have information that should not be cited for reasons like doxxing.
This text is to space out these amboxes for rea
"Editor's Guide" may have non-archived videos on the page. While they will not be removed from this page, they may be removed from the host website and make the video inaccessible. Please help us out by archiving videos on Archive.org. |
"Videos Need Archiving" ambox is for articles that use youtube videos instead of embedding Archive.org videos. Youtube videos can be downloaded using 4K Video Downloader.
This text is to space out these amboxes for readability
"Editor's Guide" is incomplete or missing content. |
"Stub" ambox is for incomplete articles.
This text is to space out these amboxes for readability
"Editor's Guide" has a present bias that needs to be addressed. Sections of this article need to be rewritten. |
"Bias" ambox is for biased articles.
This text is to space out these amboxes for readability
"Editor's Guide" has grammar, formatting, or word choice issues that need addressing. Please fix any visible issues in the article. |
"Grammar" ambox is for articles with bad grammar. Inspired by the existence of Ifixgrammar.
This text is to space out these amboxes for readability
The subject or contents of "Editor's Guide" cover an ongoing situation/topic that is subject to change. This article may contain outdated or missing information as of 2023-10-29 due to recent events. This template was added over a month ago, does it still apply? |
"Ongoing" ambox is for articles covering situations or subjects that are currently ogoing and subject to change.
This text is to space out these amboxes for readability
Advanced Editing
Advanced Article Editing
- Nowiki
- Nowiki tags can prohibit HTML tags, useful for displaying code, like on these articles!
- Example: no [[wiki]] ''markup''
- Code:
<nowiki>no [[wiki]] ''markup''</nowiki>
- Colouring text
- Example: This text is red.
- Code:
</nowiki>This text is red.</nowiki>
(this is CSS code!)
- Comments\
- Example:
<!-- This is a comment -->
- These can only be seen when editing articles!
- Example:
- Special Characters
- Add special characters using HTML entities, such as © for the copyright symbol, ® for the registered trademark symbol, or ™ for the trademark symbol.
- Shadows
- Example: Shadowed Text
- Code:
<span style="text-shadow: 2px 2px 4px #333;">Shadowed Text</span>
(this is also CSS code!)
Stuff You Should Know Before Editing Modules/Templates
This isn't necessarily required, but it is highly suggested that you familiarize yourself with wikitext, HTML, CSS, and Lua scripting before trying to get into editing important modules and templates to any large degree, as if you're a beginner without experience planning out modules/templates, you can end up messing up modules and templates very badly in the long-term with sloppy or improper code.
Here's a basic run-down of things you should be familiar with when you start editing modules and templates:
- Wikitext
- Wikitext is the markup language used in MediaWiki for formatting content. You should be comfortable with wikitext, including creating and formatting text, links, lists, and tables. This is used in the "source" editing of articles, so don't be afraid, as there's a lot of references to use across the wiki if you're figuring stuff out!
- Templates
- Template Syntax
- Templates are used to reuse content and create structured elements. You should know how to pass parameters to templates and use them effectively.
- Template Parameters
- Learn how to define and use parameters in templates to make them more flexible and reusable. You can pass data into templates using parameters.
- Transclusion
- Understand how transclusion works in MediaWiki. Transclusion is the process of including the content of one page (such as a template) within another page.
- Template Syntax
- CSS Styling
- You may need to apply custom CSS styles to your templates to control their appearance. Learn how to define and use CSS within MediaWiki.
- Parser Functions (for decently advanced editing)
- MediaWiki provides various parser functions that allow you to perform dynamic operations within your wikitext. Familiarize yourself with common parser functions like #if, #ifeq, #ifexpr, and #switch.
- Lua Scripting (for very advanced editing)
- Lua is used for creating more complex logic and functionality within MediaWiki. You should be familiar with the Lua programming language, including variables, conditionals, loops, and functions.
- Module Development (for very advanced editing)
- Understand how to create and use Lua modules in MediaWiki. Modules are used to encapsulate complex logic and make it accessible to templates. You should know how to call Lua functions from wikitext and pass data between Lua modules and templates
Editing Templates
"Editor's Guide" is incomplete or missing content. |
- Creating a template page
- When you make a template, you need the
Template:
tag at the start of the name of the article, otherwise it won't be recognized as one.
- When you make a template, you need the
- Using a template
- To use the modified template, insert it into articles using {{TemplateName}}, and provide values for the parameters as needed.
Editing Modules
"Editor's Guide" is incomplete or missing content. |