Template:Cite web: Difference between revisions

From WikiAlpha
Created page with "<includeonly> {{#if: {{{author|}}} | ''{{{author}}}'' }} {{#if: {{{url|}}} | ''[{{{url}}} {{{title}}}]'' }} {{#if: {{{publisher|}}} | {{{publisher}}}. }} {{#if: {{{access-date|}}} | Accessed: {{{access-date}}}. }} </includeonly><noinclude> Bhikitia Pro: This template generates a citation for a web source. It should be used with `<ref>` tags to include references in articles. '''Parameters:''' * `author` - Name of the author * `title` - Title of the article or page..."
 
m Protected "Template:Cite web" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>
<includeonly>{{#if:{{{author|}}}|{{{author}}}, }}{{#if:{{{url|}}}|[{{{url}}} {{{title|{{{url}}}}}}]|{{{title|}}}}}{{#if:{{{publisher|}}}|, ''{{{publisher}}}''}}{{#if:{{{website|}}}|, ''{{{website}}}''}}{{#if:{{{date|}}}|, {{{date}}}}}{{#if:{{{access-date|}}}|. Accessed {{{access-date}}}}}.}</includeonly><noinclude>
{{#if: {{{author|}}} | ''{{{author}}}'' }}
== Usage ==
{{#if: {{{url|}}} | ''[{{{url}}} {{{title}}}]'' }}
<pre>
{{#if: {{{publisher|}}} | {{{publisher}}}. }}
{{cite web
{{#if: {{{access-date|}}} | Accessed: {{{access-date}}}. }}
| url        =  
</includeonly><noinclude>
| title       =  
 
| author      =  
[[Bhikitia Pro]]: This template generates a citation for a web source. It should be used with `<ref>` tags to include references in articles.
| publisher   =  
 
| website    =  
'''Parameters:'''
| date        =  
* `author` - Name of the author
| access-date =  
* `title` - Title of the article or page
}}
* `url` - Full URL of the page
</pre>
* `publisher` - Publisher or website name
* `access-date` - Date when the source was accessed
 
Example:
<nowiki>{{Cite web |author=John Doe |title=Example Title |url=https://example.com |publisher=Example Publisher |access-date=2024-11-15}}</nowiki> </br>
'''Result:''' {{Cite web |author=John Doe |title=Example Title |url=https://example.com |publisher=Example Publisher |access-date=2024-11-15}}
</noinclude>
</noinclude>

Latest revision as of 22:07, 25 April 2026

Usage

{{cite web
| url         = 
| title       = 
| author      = 
| publisher   = 
| website     = 
| date        = 
| access-date = 
}}