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>VilkaTheWolf
No edit summary
imported>Darman36
Reverting to resemble {Twitter} template. "Notes" function no longer used on FB, and ACReb used it so rarely (only 6x) before updates were put to Ubi forum we can use a {Cite web} instead
Line 1: Line 1:
<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|}}}}}}||
<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|}}}
|&#58;&nbsp;[https://facebook.com/{{{2|{{{url|}}}}}} {{{description}}}]{{#if:{{{dateposted|}}}|&nbsp;({{#time:F j, Y|{{{dateposted}}}}})|}}.{{#if:{{{quote|}}}|&nbsp;"{{{quote}}}"|}}<small>{{#if:{{{archivedate|}}}
    |&nbsp;"{{{quote}}}"}}{{#if:{{{backup|}}}
     |&nbsp;([https://web.archive.org/web/{{{archivedate}}}/https://facebook.com/{{{2|{{{url|}}}}}} backup link])
     |&nbsp;<small>([{{{backup}}} backup link])</small>}}</span>{{#if:{{{image|}}}
    |{{#if:{{{image|}}}
|&nbsp;<small>([[:{{{image|}}}|screenshot]])</small>
        |&nbsp;([[:{{{image}}}|backup link]])
|{{#if:{{NAMESPACE}}
        |{{#if:{{{archiveurl|}}}
            |
        |&nbsp;({{#ifeq:{{#sub:{{{archiveurl}}}|0|4}}|http|[{{{archiveurl}}} backup link]|[[:File:{{{archiveurl}}}{{!}}screenshot]]}})
            |{{#if:{{{2|}}}{{{url|}}}
        |{{#if:{{{nobackup|}}}
                |{{#if:{{{noimage|}}}
            |&nbsp;(content obsolete and backup link not available)
                      |
            |&nbsp;([https://web.archive.org/web/https://facebook.com/{{{2|{{{url|}}}}}} backup link] [[Template:Facebook|<span style="color: red">'''not verified!'''</span>]]){{#if:{{NAMESPACE}}
                      |[[Category:Social media citations without screenshots]]}}|}}}}
                |{{#ifeq:{{NAMESPACE}}|File|[[Category:Social media citations with missing permanent archival links]]|}}
}}<noinclude>
                |[[Category:Social media citations with missing permanent archival links‎]]
                                                                        }}
        }}
    }}}}
}}</small>}}</span><noinclude>__NOTOC__


==Usage==
==Usage==
===External links===
<pre>
<pre><nowiki>{{Facebook|profilelink||author}}</nowiki></pre>
<nowiki>{{Facebook|username|url|actual name|quote=|image=|noimage=|backup=}}</nowiki>
'''Required parameters'''
</pre>
*'''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.


'''Optional parameters'''
'''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>.
*Backup parameters; see below


===References===
===Examples===
<pre><nowiki>{{Facebook|profilelink=|url=|author=|description=|dateposted=|quote=|archivedate=|archiveurl=|nobackup=}}</nowiki></pre>
Status:
<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>


Required parameters
<noinclude>[[Category:Internet citation templates]]</noinclude>
*'''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 02:21, 2 October 2021

{{{3}}} (@{{{1}}}) on Facebook

Usage

{{Facebook|username|url|actual name|quote=|image=|noimage=|backup=}}

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 |backup=.

Examples

Status:

{{Facebook|MobileACR|photos/960692387649446|Assassin's Creed: Rebellion}}

User:

{{Facebook|theashrafismail||Ashraf Ismail}}

Quote:

{{Facebook|assassinscreedANZ|videos/1237784759762215|Assassin's Creed|quote=Discover all the Assassin's Creed Odyssey Stories in your game directly from your phone!}}