Template:Cryptogull: Difference between revisions
Jump to navigation
Jump to search
m (Protected "Template:Cryptogull": Standard practice ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite))) |
Kernelmethod (talk | contribs) m (Through divine inspiration it was revealed to me that a missing closing div tag was the issue) |
||
(5 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><div style="overflow:hidden;"> | <includeonly><div style="overflow:hidden;"> | ||
{{# | {{#ifeq:{{{old|}}}|yes | ||
|{{#invoke:CryptogullJrOld|Main|code={{#if: {{{1|}}}|{{{1}}}|{{{code|}}} }} |title={{{title}}}}} | |||
| {{#invoke: | |{{#invoke:CryptogullJr|main|code={{{code|}}}|author={{{author|anonymous}}}|title={{{title|Build Title Here}}}}}}} | ||
{{# | |||
{{ | </div></div>{{#if:{{{comment|}}} | | ||
{{ | <code style="padding:1em;margin:1em;display:inline-block;width:-webkit-fill-available;">{{Qud text|&cComment:}} {{{comment| Im a comment!}}}}}</code></br></includeonly><noinclude>[[Category:Templates]] | ||
Template that takes a code and returns a (possibly valid) build. There are three parameters: | Template that takes a code and returns a (possibly valid) build. There are three parameters: | ||
Line 14: | Line 13: | ||
|- | |- | ||
! title | ! title | ||
| what you want to name your build. this is used for more organized table of contents if there are multiple on the same page. optional. | | what you want to name your build. this is used for more organized table of contents if there are multiple on the same page. | ||
|- | |||
! author | |||
| who made it! optional. | |||
|- | |- | ||
! comment | ! comment | ||
| any comment you want about your build! optional. | | any comment you want about your build! optional. | ||
|- | |||
! old | |||
| if yes, use the old build code format. | |||
|} | |} | ||
==Example== | ==Example== | ||
< | <pre> | ||
{{Cryptogull|code=BARFIGHTBABE|title=Bar Fight Babe|comment=What's not there to love? She's a bar fight babe!}} | {{Cryptogull|code=H4sIAAAAAAAACs1WXWvbMBR9L/Q/CLNHx6QlD10hD1422m1NyeKQDUYfZPtia5Mlo4+OEPLfe2WnjT9gaQcLDgRH91zde3J0JHl7fkaIl9ECHkFpJoV3TbzLYBxcjifB+yvPr/DYMp42Ei4wYbzHCplaDhrDP92YkG39eIFWmxLcpB/Lu2CWU0UTA+qDq6iDbzZ13xsQ0mDavJrgk1BrKGK+Gc0inFD6ZF33nh6Y+WRmubEKpgKsUZT7ZGFjzpKvsFnJ3yCmwnJec6zIpNRQpPHCDkPvzFupfcQiPXqHJljzOd+VnVtDDaTk1hZUtLJ6Wj5ju/rHzv9nLSMbD1TKFrPjSu7TXdFQJVJQa06lYbVwWFsPUMUOt+M6FiVWHDcjGjgkVY3Drq0/2+aA7B28F/kWWJYbEM7QQBUTWbNNlT6TVhjMvegCa8ynFTTuQo81dI9HkOviNeGd/1pyc9SelRxIqAo9IF73TjOyZpVTh0NrCRkupKrHw6EVcVYAueFUpENaxJVy1hr9kkzgcT4gYmFR5ixm0p5ArcPg4USncGiMYrE1MMRjuEvu+Dm8cPbRC6uSnGq00XV7ab3IKBCZyRG4aq2MF2aMM7PpAytps1yA1n3oM1qVc4bbPIE++p1xXso/oPrQp0xicHKINe3o0TIqoXLPaDJpA0soKBPuWuhcNzH+3dBdQu0Z/9E5s1xKDZGhyiCfO5lUO2aALvob0Ve8IXXmuWZfZFnSt70nucfD+dnuCVtcn6cMDAAA|title=Sesame|author=Dij}} | ||
</ | </pre> | ||
{{Cryptogull|code=BARFIGHTBABE|title=Bar Fight Babe|comment=What's not there to love? She's a bar fight babe!}} | {{Cryptogull|code=H4sIAAAAAAAACs1WXWvbMBR9L/Q/CLNHx6QlD10hD1422m1NyeKQDUYfZPtia5Mlo4+OEPLfe2WnjT9gaQcLDgRH91zde3J0JHl7fkaIl9ECHkFpJoV3TbzLYBxcjifB+yvPr/DYMp42Ei4wYbzHCplaDhrDP92YkG39eIFWmxLcpB/Lu2CWU0UTA+qDq6iDbzZ13xsQ0mDavJrgk1BrKGK+Gc0inFD6ZF33nh6Y+WRmubEKpgKsUZT7ZGFjzpKvsFnJ3yCmwnJec6zIpNRQpPHCDkPvzFupfcQiPXqHJljzOd+VnVtDDaTk1hZUtLJ6Wj5ju/rHzv9nLSMbD1TKFrPjSu7TXdFQJVJQa06lYbVwWFsPUMUOt+M6FiVWHDcjGjgkVY3Drq0/2+aA7B28F/kWWJYbEM7QQBUTWbNNlT6TVhjMvegCa8ynFTTuQo81dI9HkOviNeGd/1pyc9SelRxIqAo9IF73TjOyZpVTh0NrCRkupKrHw6EVcVYAueFUpENaxJVy1hr9kkzgcT4gYmFR5ixm0p5ArcPg4USncGiMYrE1MMRjuEvu+Dm8cPbRC6uSnGq00XV7ab3IKBCZyRG4aq2MF2aMM7PpAytps1yA1n3oM1qVc4bbPIE++p1xXso/oPrQp0xicHKINe3o0TIqoXLPaDJpA0soKBPuWuhcNzH+3dBdQu0Z/9E5s1xKDZGhyiCfO5lUO2aALvob0Ve8IXXmuWZfZFnSt70nucfD+dnuCVtcn6cMDAAA|title=Sesame|author=Dij}} | ||
If you somehow have a hold of a very old build code, you can also decode them using <code>old=yes</code>. (Sorry, there's no way to "update" the old code into the new build code format) | |||
<pre> | |||
{{Cryptogull|code=BARFIGHTBABE|title=Bar Fight Babe|comment=What's not there to love? She's a bar fight babe!|old=yes}} | |||
</pre> | |||
{{Cryptogull|code=BARFIGHTBABE|title=Bar Fight Babe|comment=What's not there to love? She's a bar fight babe!|old=yes}} | |||
</noinclude> | </noinclude> |
Latest revision as of 07:49, 9 April 2024
Template that takes a code and returns a (possibly valid) build. There are three parameters:
code | the buildcode |
---|---|
title | what you want to name your build. this is used for more organized table of contents if there are multiple on the same page. |
author | who made it! optional. |
comment | any comment you want about your build! optional. |
old | if yes, use the old build code format. |
Example
{{Cryptogull|code=H4sIAAAAAAAACs1WXWvbMBR9L/Q/CLNHx6QlD10hD1422m1NyeKQDUYfZPtia5Mlo4+OEPLfe2WnjT9gaQcLDgRH91zde3J0JHl7fkaIl9ECHkFpJoV3TbzLYBxcjifB+yvPr/DYMp42Ei4wYbzHCplaDhrDP92YkG39eIFWmxLcpB/Lu2CWU0UTA+qDq6iDbzZ13xsQ0mDavJrgk1BrKGK+Gc0inFD6ZF33nh6Y+WRmubEKpgKsUZT7ZGFjzpKvsFnJ3yCmwnJec6zIpNRQpPHCDkPvzFupfcQiPXqHJljzOd+VnVtDDaTk1hZUtLJ6Wj5ju/rHzv9nLSMbD1TKFrPjSu7TXdFQJVJQa06lYbVwWFsPUMUOt+M6FiVWHDcjGjgkVY3Drq0/2+aA7B28F/kWWJYbEM7QQBUTWbNNlT6TVhjMvegCa8ynFTTuQo81dI9HkOviNeGd/1pyc9SelRxIqAo9IF73TjOyZpVTh0NrCRkupKrHw6EVcVYAueFUpENaxJVy1hr9kkzgcT4gYmFR5ixm0p5ArcPg4USncGiMYrE1MMRjuEvu+Dm8cPbRC6uSnGq00XV7ab3IKBCZyRG4aq2MF2aMM7PpAytps1yA1n3oM1qVc4bbPIE++p1xXso/oPrQp0xicHKINe3o0TIqoXLPaDJpA0soKBPuWuhcNzH+3dBdQu0Z/9E5s1xKDZGhyiCfO5lUO2aALvob0Ve8IXXmuWZfZFnSt70nucfD+dnuCVtcn6cMDAAA|title=Sesame|author=Dij}}
If you somehow have a hold of a very old build code, you can also decode them using old=yes
. (Sorry, there's no way to "update" the old code into the new build code format)
{{Cryptogull|code=BARFIGHTBABE|title=Bar Fight Babe|comment=What's not there to love? She's a bar fight babe!|old=yes}}
Comment: What's not there to love? She's a bar fight babe!