Welcome to Assassin's Creed Wiki! Log in and join the community.

Template:Facebook: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Darman36
Linking names makes link only appear under small media icon
imported>VilkaTheWolf
making it so "notes" pages can also be linked.
Line 1: Line 1:
<span class="plainlinks">[[File:Facebook.png|x15px|link=https://facebook.com/{{{1|{{{url}}}}}}/{{{2|{{{url}}}}}}]] [https://facebook.com/{{{1|{{{url}}}}}}/{{{2|{{{url}}}}}} {{{3}}} (@{{{1}}})] on [[Wikipedia:Facebook|Facebook]]{{#if: {{{quote|}}}
<span class="plainlinks">[[File:Facebook.png|text-top|x15px|link=https://facebook.com]] {{#ifeq:{{{1|{{{profilelink|}}}}}}||{{{3|{{{author|}}}}}}|{{{3|{{{author|}}}}}} ([https://facebook.com/{{{1|{{{profilelink}}}}}} @{{{1|{{{profilelink}}}}}}])}} on [[wikipedia:Facebook|Facebook]]{{#ifeq:{{{2|{{{url|}}}}}}||
    |&nbsp;"{{{quote}}}"}}{{#if:{{{backup|}}}
|&#58;&nbsp;[https://facebook.com/{{{2|{{{url|}}}}}} {{{description}}}]{{#if:{{{dateposted|}}}|&nbsp;({{#time:F j, Y|{{{dateposted}}}}})|}}.{{#if:{{{quote|}}}|&nbsp;"{{{quote}}}"|}}<small>{{#if:{{{archivedate|}}}
     |&nbsp;<small>([{{{backup}}} backup link])</small>}}</span>{{#if:{{{image|}}}
     |&nbsp;([https://web.archive.org/web/{{{archivedate}}}/https://facebook.com/{{{2|{{{url|}}}}}} backup link])
|&nbsp;<small>([[:{{{image|}}}|screenshot]])</small>
    |{{#if:{{{image|}}}
|{{#if:{{NAMESPACE}}
        |&nbsp;([[:{{{image}}}|backup link]])
            |
        |{{#if:{{{archiveurl|}}}
            |{{#if:{{{2|}}}{{{url|}}}
        |&nbsp;({{#ifeq:{{#sub:{{{archiveurl}}}|0|4}}|http|[{{{archiveurl}}} backup link]|[[:File:{{{archiveurl}}}{{!}}screenshot]]}})
                |{{#if:{{{noimage|}}}
        |{{#if:{{{nobackup|}}}
                      |
            |&nbsp;(content obsolete and backup link not available)
                      |[[Category:Social media citations without screenshots]]}}|}}}}
            |&nbsp;([https://web.archive.org/web/https://facebook.com/{{{2|{{{url|}}}}}} backup link] [[Template:Facebook|<span style="color: red">'''not verified!'''</span>]]){{#if:{{NAMESPACE}}
}}<noinclude>
                |{{#ifeq:{{NAMESPACE}}|File|[[Category:Social media citations with missing permanent archival links]]|}}
                |[[Category:Social media citations with missing permanent archival links‎]]
                                                                        }}
        }}
    }}}}
}}</small>}}</span><noinclude>__NOTOC__


==Usage==
==Usage==
<pre>
===External links===
<nowiki>{{Facebook|username|url|actual name|quote=|image=|noimage=|backup=}}</nowiki>
<pre><nowiki>{{Facebook|profilelink||author}}</nowiki></pre>
</pre>
'''Required parameters'''
*'''profilelink:''' Facebook nickname of author
*'''author:''' Author being cited in the linked post. Supports wikilinks.
Leaving <code>url</code> blank omits the backup link warning and the maintenance categorization.


'''Note''': Users are encouraged to utilize the optional "quote" field in the template whenever possible, especially when citing canonical information, as Facebook posts are subject to permanent removal at any time. Archiving the post in question is '''strongly''' recommended. This is achieved with <code>|backup=</code>.
'''Optional parameters'''
*Backup parameters; see below


===Examples===
===References===
Status:
<pre><nowiki>{{Facebook|profilelink=|url=|author=|description=|dateposted=|quote=|archivedate=|archiveurl=|nobackup=}}</nowiki></pre>
<pre>
{{Facebook|MobileACR|photos/960692387649446|Assassin's Creed: Rebellion}}
</pre>
User:
<pre>
{{Facebook|theashrafismail||Ashraf Ismail}}
</pre>
Quote:
<pre>
{{Facebook|assassinscreedANZ|videos/1237784759762215|Assassin's Creed|quote=Discover all the Assassin's Creed Odyssey Stories in your game directly from your phone!}}
</pre>


<noinclude>[[Category:Internet citation templates]]</noinclude>
Required parameters
*'''url:''' Permanent URL to Facebook wall post, excluding the <code>https://www.facebook.com/</code> portion.
*'''author:''' Author being cited in the linked post. Supports wikilinks.
*'''description:''' A short description or title of the citation.
 
Optional parameters
*'''profilelink:''' Facebook nickname of author
*'''dateposted:''' The time when the Facebook post was posted, in 24-hour format (13:58, not 1:58pm)
*'''quote:''' A short excerpt from the citation for quick reference in the article.
 
Archive links
*'''archivedate:''' This parameter uses the timestamp feature of Internet Archive. The URL supplied earlier in the template, along with archivedate, will provide a link to Internet Archive.
*'''archiveurl:''' If Internet Archive does not work for the link in question, you can use archiveurl to provide a full URL to another backup website, such as archive.is.
*'''nobackup:''' If no backup link can be found for content that is no longer available, this parameter can be used. If the content is still available, you can screenshot and upload it to Wookieepedia instead.
 
==Examples==
<code><nowiki>{{Facebook|AssassinsCreed||Assassin's Creed}}</nowiki></code>
 
Results in:
 
{{Facebook|AssassinsCreed||Assassin's Creed}}
 
<hr />
 
<code><nowiki>{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018}}</nowiki></code>
 
Results in:
 
{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018}}
 
<hr />
 
<code><nowiki>{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018|archiveurl=Facebook_-_ACReb_Update_1.2.0.pdf}}</nowiki></code>
 
Results in:
 
{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018|archiveurl=Facebook_-_ACReb_Update_1.2.0.pdf}}
 
<hr />
 
<code><nowiki>{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018|quote=This update represents a major milestone in the development of Assassin’s Creed Rebellion and it comes packed with brand new features that have been requested by the community. Let’s start, shall we?|nobackup=1}}</nowiki></code>
 
Results in:
 
{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018|quote=This update represents a major milestone in the development of Assassin’s Creed Rebellion and it comes packed with brand new features that have been requested by the community. Let’s start, shall we?|nobackup=1}
 
 
[[Category:Social media citation templates|Facebook]]
 
{{c|Adapted from Wookiepedia template created by Darth Culator}}
</noinclude>

Revision as of 04:30, 20 May 2021

on Facebook

Usage

External links

{{Facebook|profilelink||author}}

Required parameters

  • profilelink: Facebook nickname of author
  • author: Author being cited in the linked post. Supports wikilinks.

Leaving url blank omits the backup link warning and the maintenance categorization.

Optional parameters

  • Backup parameters; see below

References

{{Facebook|profilelink=|url=|author=|description=|dateposted=|quote=|archivedate=|archiveurl=|nobackup=}}

Required parameters

  • url: Permanent URL to Facebook wall post, excluding the https://www.facebook.com/ portion.
  • author: Author being cited in the linked post. Supports wikilinks.
  • description: A short description or title of the citation.

Optional parameters

  • profilelink: Facebook nickname of author
  • dateposted: The time when the Facebook post was posted, in 24-hour format (13:58, not 1:58pm)
  • quote: A short excerpt from the citation for quick reference in the article.

Archive links

  • archivedate: This parameter uses the timestamp feature of Internet Archive. The URL supplied earlier in the template, along with archivedate, will provide a link to Internet Archive.
  • archiveurl: If Internet Archive does not work for the link in question, you can use archiveurl to provide a full URL to another backup website, such as archive.is.
  • nobackup: If no backup link can be found for content that is no longer available, this parameter can be used. If the content is still available, you can screenshot and upload it to Wookieepedia instead.

Examples

{{Facebook|AssassinsCreed||Assassin's Creed}}

Results in:

Assassin's Creed (@AssassinsCreed) on Facebook


{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018}}

Results in:

Assassin's Creed: Rebellion on FacebookUpdate Notes 1.2.0 - NEW FEATURES (March 14, 2018). (backup link not verified!)


{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018|archiveurl=Facebook_-_ACReb_Update_1.2.0.pdf}}

Results in:

Assassin's Creed: Rebellion on FacebookUpdate Notes 1.2.0 - NEW FEATURES (March 14, 2018). (screenshot)


{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018|quote=This update represents a major milestone in the development of Assassin’s Creed Rebellion and it comes packed with brand new features that have been requested by the community. Let’s start, shall we?|nobackup=1}}

Results in:

{{Facebook|url=notes/assassins-creed-rebellion/update-notes-120-new-features/436179770100713/|author=Assassin's Creed: Rebellion|description=Update Notes 1.2.0 - NEW FEATURES|dateposted=Mar 14, 2018|quote=This update represents a major milestone in the development of Assassin’s Creed Rebellion and it comes packed with brand new features that have been requested by the community. Let’s start, shall we?|nobackup=1}

(Adapted from Wookiepedia template created by Darth Culator)